POST/v1/user-groupsCreate a user group

Create a user group description
parameterorganizationIdThe organization where the groups will be created: Number
headerAuthorizationAuthentication token (bearer token or API key).
{
"name" : String,
"description" : String,
"remarks" : String,
"externalId" : {
"value" : String
}
}

Response

status200All ok, returned the id of created user group
status401Invalid authentication token
status403Insufficient rights
status404User group not found
Number

Example: Create a user group for POST request

POST/v1/user-groups

parameterorganizationId8
headerAuthorizationBearer 947df2cb-c5cc-4709-9494-bac3490e4be4
{
"name": "Test group",
"description": "group for test"
}

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
25