Create a User
POST
/platform/api/v1/users
Users
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/platform/api/v1/users' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"name": "string",
"email": "string",
"password": "string",
"custom_attributes": {}
}'
Response Response Example
200 - Example 1
{
"id": 0,
"uid": "string",
"name": "string",
"available_name": "string",
"display_name": "string",
"email": "string",
"account_id": 0,
"role": "agent",
"confirmed": true,
"custom_attributes": {},
"accounts": [
{
"id": 0,
"name": "string",
"role": "administrator"
}
]
}
Request
Body Params application/json; charset=utf-8