PUT/v1/user-groups/{id}Update a user group

Update a user group description
headerAuthorizationAuthentication token (bearer token or API key).
{
"name" : String,
"description" : String,
"remarks" : String
}

Response

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

Example: Update a user group

PUT/v1/user-groups/26

headerAuthorizationBearer 09ab7bf6-8697-4c5f-9327-50ff07d4e208
{
"name": "Update 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=()
26