Update Current Org User

Updates the permissions roles assigned to a user in the caller's current organization. Only the user's role assignments are modified. Profile information such as name and email address is not affected by this endpoint.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

idstringRequiredformat: "uuid"
Unique identifier of the user to update.

Headers

X-Polytomic-VersionstringRequired

Request

This endpoint expects an object.
role_idslist of stringsOptional
Identifiers of the permissions roles to assign to the user. Must contain at least one entry when provided.
rolestringOptionalDeprecated

Deprecated legacy role name. Use role_ids instead.

Response

OK
dataobject

Errors

403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error