Create
POST/users
Creates a new user
Body ParametersJSON
externalId: string
External ID for the user
role: string
Role of the user
Returns
Create
curl https://api.us-west-2.fragment.dev/users \
-H 'Content-Type: application/json' \
-d '{
"externalId": "user_ext_123",
"role": "admin"
}'{
"data": {
"id": "user_abc123",
"externalId": "user_ext_123",
"role": "admin"
}
}Returns Examples
{
"data": {
"id": "user_abc123",
"externalId": "user_ext_123",
"role": "admin"
}
}