SCIM

Create User

Create a Torii user. <p><ul><li>Torii users can log in to Torii and/or the App Catalog and/or the Browser Extension.</li><li>The user's app permissions are determined according to the user's role, represented by the <code>userType</code> attribute.</li><li>The user can be created as <b>Active</b> or <b>Inactive</b>, according to the <code>active</code> attribute.</li><li>Only active users can log in to Torii apps.</li></ul></p>

<p><ul><li>Rate limit: 200 requests per minute</li></ul></p>
post/scim/v2/Users

Request

  • Base URL
    https://api.toriihq.com/v1.0
  • Auth
    API key in header Authorization

Request body

schemasModel96[] required

An array of Strings containing URIs that are used to indicate the namespaces of the SCIM schemas that define the attributes present in the current JSON structure.

userNamestring required

userName must be a valid email address with a valid domain.

userTypestring

The role of the user in Torii.<br>Must be a valid Torii role name or custom role name (e.g. "Admin", "Read Only", etc.)

activeboolean

Example request

{
  "schemas": [
    [
      "urn:ietf:params:scim:schemas:core:2.0:User"
    ]
  ],
  "name": {
    "familyName": "Stark",
    "givenName": "Tony"
  },
  "userName": "tony@stark.com",
  "userType": "Admin"
}

Response

SCIM user schema

schemasModel70[] required

An array of Strings containing URIs that are used to indicate the namespaces of the SCIM schemas that define the attributes present in the current JSON structure.

idstring

The user's ID in Torii

userNamestring

Must be an email address. Cannot be changed after the user is created.

activeboolean

A Boolean value indicating the User's administrative status.

userTypestring

The role of the user in Torii.

Example response

{
  "schemas": [
    [
      "urn:ietf:params:scim:schemas:core:2.0:User"
    ]
  ],
  "id": "1234",
  "userName": "tony@stark.com",
  "name": {
    "familyName": "Stark",
    "givenName": "Tony"
  },
  "active": true,
  "emails": [
    {
      "primary": true,
      "value": "tony@stark.com"
    }
  ],
  "userType": "Admin",
  "meta": {
    "created": "2022-01-01T00:00:00.000Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.