Create User

Use this API to create a user and associate that user with the configured organization and role. This API should only be used when provisioning and managing users from your Identity Provider using the System for Cross-Domain Identity Management (SCIM) standard to facilitate the automated creation of user identities from a third-party identity management application.

🗒

Things to Know

  • This API supports OneTrust's Legacy SCIM Integration that leverages SCIM groups, which are unique role-organization combinations that each represent a specific role within a particular organization. For more information, see Legacy SCIM User Provisioning.
  • If a value is not provided for roles or organization in the request, the newly created user will be assigned the default role and organization as configured on the User Provisioning screen within Global Settings in the OneTrust application.
  • This API supports assigning the user to multiple roles within one organization. If the user should be assigned to other role-organization combinations (SCIM groups), use the Modify Group Members API.
Body Params
string
length ≤ 100

External Id

string
schemas
array of strings
string
length ≤ 256

Username of the user in the OneTrust application.

name
object
required
string
enum

Type of the user.

Allowed:
boolean

The flag to check whether the user is an active or an inactive user.

emails
array of objects
emails
roles
array
roles
string
length ≤ 255

Job title of the user

urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
object
Responses

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

Language
Credentials
OAuth2
Missing 3 required scopes
URL
Response
Choose an example:
application/json
*/*