| header | Authorization | Authentication token (bearer token or API key). |
| { "language" : Language code (ISO 639-1, e.g. "ar", "de", "en", "es", "fr", "it", "nl", "pl", "cs"), "expiration" : Date/time with a timezone (ISO 8601, e.g. "2022-06-23T13:53:02+02:00"), "emailAddress" : String, "sendEmail" : Boolean, "phoneNumber" : Phone number (E.164, e.g. "+31850607337"), "sendSms" : Boolean } | ||
| status | 200 | All ok, returned ID of updated user |
| status | 400 | Invalid roles |
| status | 401 | Invalid authentication token |
| status | 403 | Insufficient rights |
| status | 404 | User not found |
| { "id" : Number } | ||
| header | Authorization | Bearer 0afdf1dc-06f5-465b-a094-aa4196f6e7df |
{ "sendEmail": true } | ||
| 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=() |
{ "id": 5 } | ||
| header | Authorization | Bearer 9b0833c5-22f3-495f-9181-0740e31f7369 |
{ "sendEmail": false } | ||
| 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=() |
{ "id": 2 } | ||