Skip to content

Create new admin user

Request

Adds a new admin user to Mosaic.

Security
bearer or ClientAccessToken
Bodyapplication/jsonrequired
emailstringrequired
rolesArray of stringsrequired

Roles to assign to the admin

curl -i -X POST \
  https://api.sbx.transmitsecurity.io/cis/v1/admin-users \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "string",
    "roles": [
      "string"
    ]
  }'

Responses

Bodyapplication/json
resultobjectrequired
Response
{ "result": { "email": { … }, "secondary_emails": [ … ], "phone_number": { … }, "secondary_phone_numbers": [ … ], "username": "string", "user_id": "string", "birthday": "2019-08-24T14:15:22Z", "address": { … }, "name": { … }, "status": "Active", "status_changed_at": "2019-08-24T14:15:22Z", "created_at": 0, "updated_at": 0, "identity_providers": [ … ], "identities": [ … ], "last_auth": "2019-08-24T14:15:22Z", "external_account_id": "string", "app_name": "string", "custom_app_data": {}, "groupIds": [ … ], "picture": "string", "language": "string", "custom_data": {}, "external_user_id": "string", "password_information": { … }, "custom_user_fields": {} } }