Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"name": "Jon Doe",
"email": "jon@doe.com",
"extRelationId": 1,
"selfService": 3,
"selfServiceHourlyCredit": true,
"selfServiceHourlyGroupProfiles": [
1,
2,
3
],
"selfServiceResourceGroupProfiles": [
4,
5,
6
],
"selfServiceHourlyResourcePack": 1,
"sendMail": false
}
Request samples
curl --location --request POST '/users' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Jon Doe",
"email": "jon@doe.com",
"extRelationId": 1,
"selfService": 3,
"selfServiceHourlyCredit": true,
"selfServiceHourlyGroupProfiles": [
1,
2,
3
],
"selfServiceResourceGroupProfiles": [
4,
5,
6
],
"selfServiceHourlyResourcePack": 1,
"sendMail": false
}'
Responses
application/json {
"data": {
"id": 2,
"admin": false,
"extRelationId": 1,
"selfService": 3,
"selfServiceHourlyGroupProfiles": [],
"selfServiceResourceGroupProfiles": [],
"selfServiceHourlyResourcePack": null,
"name": "Jon Doe",
"email": "jon@doe.com",
"timezone": "Europe/London",
"suspended": false,
"twoFactorAuth": false,
"created": "2025-01-20T12:41:28.000000Z",
"updated": "2025-01-20T12:41:28.000000Z",
"password": "0hPZSAmj8Tgq1noGoenxpxlC9xf1tc"
}
}
Modified at 2025-01-20 21:49:10