curl --request POST \
--url https://api.example.com/api/users/service \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"type": "member"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"type": "invited",
"status": "active",
"createdAt": "<string>",
"updatedAt": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"isService": true,
"roles": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>"
}
]
}Creates a new service account user with the specified email and user type.
curl --request POST \
--url https://api.example.com/api/users/service \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"type": "member"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"type": "invited",
"status": "active",
"createdAt": "<string>",
"updatedAt": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"isService": true,
"roles": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>"
}
]
}The created service account user
The created service account user
Unique identifier of the user
Email address of the user
User type/role within the organisation
invited, member, author, admin, owner Current status of the user account
active, disabled, locked Timestamp when the user was created
Timestamp when the user was last updated
First name of the user
Last name of the user
Whether this is a service account
Roles assigned to the user
Show child attributes
Was this page helpful?