curl --request POST \
--url https://api.example.com/v1/users \
--header 'Content-Type: application/json' \
--data '
{
"user": {
"email": "<string>",
"username": "<string>",
"role": "SYSTEM",
"auth_method": "<string>",
"password": "<string>"
},
"send_welcome_email": true
}
'{
"data": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"username": "<string>",
"role": "SYSTEM",
"auth_method": "<string>",
"password_needs_reset": true,
"password": "<string>"
}
}Create a new user with the specified configuration.
curl --request POST \
--url https://api.example.com/v1/users \
--header 'Content-Type: application/json' \
--data '
{
"user": {
"email": "<string>",
"username": "<string>",
"role": "SYSTEM",
"auth_method": "<string>",
"password": "<string>"
},
"send_welcome_email": true
}
'{
"data": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"username": "<string>",
"role": "SYSTEM",
"auth_method": "<string>",
"password_needs_reset": true,
"password": "<string>"
}
}The newly created user.
Show child attributes
SYSTEM, ADMIN, MEMBER, VIEWER "LOCAL"Was this page helpful?