Skip to content

Directly add a user account for organizations with custom identity providers

Request

Add a user. This is only available to organizations with custom IDP integrations.

Security
JWTAuthorizer
Bodyapplication/json
emailstringrequired

User's email

idpstringrequired

ID of the IDP to be used for the user

policyIdsArray of stringsrequired

IDs of the policy/policies to be applied to the user

curl -i -X POST \
  https://apidocs.trustgrid.io/_mock/user/add \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "string",
    "idp": "string",
    "policyIds": [
      "string"
    ]
  }'

Responses

OK