Update user by id
PUT
required scopes: contextual:users:update
jwtheader
AuthorizationBearer <JWT>application/json- body
roles*array<>Items
1 <= itemsapplication/json- response
id*stringLength
1 <= lengthroles*array<>Items
1 <= itemsfullName?stringemail?string_metaData*curl -X PUT 'https://auth.your-tenant-id.my.contextual.io/api/v1/users/{userId}' \ -H 'Content-Type: application/json' \ -d '{ "roles": [ "string" ]}'Example Response
{ "id": "string", "roles": [ "string" ], "fullName": "string", "email": "string", "_metaData": { "id": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}