| header | Authorization | Authentication token (bearer token or API key). |
| { "firstName" : com.sesamsolutions.platform.common.TriOpt[String], "lastName" : com.sesamsolutions.platform.common.TriOpt[String], "phoneNumber" : com.sesamsolutions.platform.common.TriOpt[com.sesamsolutions.platform.common.PhoneNumber], "phoneNumberVerify" : Boolean, "phoneNumberVerified" : Boolean, "emailAddress" : com.sesamsolutions.platform.common.TriOpt[com.sesamsolutions.platform.common.EmailAddress], "emailAddressVerify" : Boolean, "emailAddressVerified" : Boolean, "superUser" : Boolean, "clientId" : com.sesamsolutions.platform.common.TriOpt[com.sesamsolutions.platform.common.Id[com.sesamsolutions.platform.devicemgmt.model.Client]], "externalId" : com.sesamsolutions.platform.common.TriOpt[com.sesamsolutions.platform.devicemgmt.model.ExternalId], "source" : com.sesamsolutions.platform.common.TriOpt[com.sesamsolutions.platform.devicemgmt.model.ExternalId.Source], "description" : com.sesamsolutions.platform.common.TriOpt[String], "remarks" : com.sesamsolutions.platform.common.TriOpt[String], "autoRemoveAfter" : "WEEK" / "MONTH" / "YEAR", "autoEmailMatch" : Boolean, "requireEmailMatch" : Boolean, "authOrganizationId" : com.sesamsolutions.platform.common.TriOpt[String], "emailMatchCredentialFilter" : 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 |
| Number | ||
| header | Authorization | Bearer 49ae0a1c-0fbb-477a-a604-996524562238 |
{ "firstName": "Caroline", "phoneNumberVerify": null, "phoneNumberVerified": null, "emailAddressVerify": null, "emailAddressVerified": null, "superUser": null, "autoRemoveAfter": null, "autoEmailMatch": null, "requireEmailMatch": null, "emailMatchCredentialFilter": null } | ||
| 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=() |
4 | ||
| header | Authorization | Bearer 49ae0a1c-0fbb-477a-a604-996524562238 |
{ "firstName": "Andrew", "phoneNumberVerify": null, "phoneNumberVerified": null, "emailAddressVerify": null, "emailAddressVerified": null, "superUser": null, "autoRemoveAfter": null, "autoEmailMatch": null, "requireEmailMatch": null, "emailMatchCredentialFilter": null } | ||
| 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=() |
1 | ||