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 Enhanced SCIM Integration that leverages Group Provisioning to manage access for users by provisioning them to one or more user groups. For more information, see SCIM User & Group Provisioning.
  • The response will always return the following values for roles and organization: "roles": [] and "organization": null.
  • 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 user groups, use the Modify User Group 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
*/*