Create a SaaS identity directly, with no provisioning ticket
Create the identity record for an account on a SaaS application Primo cannot provision itself, writing it immediately — no provisioning ticket, no task for an admin. Use it when asked to create, add or register an identity, a user or an account on such an application.
It records an account rather than creating one on the application. When the account still has to be created over there, use provisionSaasIdentity.
Only for applications whose account creation is manual. One whose integration creates accounts itself is rejected with a 400, as is one that is not APPROVED.
Pass employeeId to attach the account to an employee, which offboarding needs to raise a removal task; pass email alone for an account no employee owns. Re-creating a recorded account updates it and keeps its employee.
Send entitlements as IDs from getSaasById: a name is resolved only on an application Primo does not already read that entitlement from, and is dropped silently elsewhere.
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Path Parameters
Body
The Primo employee ID the identity belongs to, as returned by the employee endpoints (id field). When set, the identity is linked to that employee and its email is taken from the employee record. This is NOT a SaaS identity ID.
1Email of the account on the SaaS application. Required when employeeId is omitted; ignored when employeeId is set, since the employee email is used instead.
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Groups the account belongs to, as IDs from getSaasById → groups[].id.
1Roles the account holds, as IDs from getSaasById → roles[].id.
1Licenses the account holds, as IDs from getSaasById → licenses[].id.
1Organization units the account belongs to, as IDs from getSaasById → organizationUnits[].id.
1Response
The created SaaS identity ID. Pass this value as saasApplicationUserId to archiveSaasApplicationUser or deleteSaasApplicationUser.