| header | Authorization | Authentication token (bearer token or API key). |
| { "name" : String, "description" : String, "remarks" : String } | ||
| status | 200 | All ok, returned the id of created user group |
| status | 401 | Invalid authentication token |
| status | 403 | Insufficient rights |
| status | 404 | User group not found |
| Number | ||
| header | Authorization | Bearer 09ab7bf6-8697-4c5f-9327-50ff07d4e208 |
{ "name": "Update group", "description": "group for test" } | ||
| status | 200 | |
| header | Access-Control-Expose-Headers | authorization, content-type |
| header | Access-Control-Allow-Headers | authorization, content-type |
| header | Access-Control-Allow-Methods | GET, POST, DELETE, OPTIONS, PUT |
| header | Access-Control-Allow-Origin | * |
| header | Strict-Transport-Security | max-age=31536000; includeSubDomains |
| header | X-Frame-Options | SAMEORIGIN |
| header | X-Content-Type-Options | nosniff |
| header | X-XSS-Protection | 1; mode=block |
| header | Content-Security-Policy | default-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none' |
| header | Referrer-Policy | no-referrer |
| header | Feature-Policy | self |
| header | Permissions-policy | interest-cohort=() |
26 | ||