Users
Update Partner User
Updates a user's assigned permissions roles.
These endpoints accept a partner key or an Organization-scoped key derived from a partner key. An Organization-scoped key can access users only in its own Organization.
To manage users with a user API key, use the current-Organization endpoints under /api/organization/users.
Only the user's role assignments are modified. Profile information such as name and email address is not affected by this endpoint.
put/api/organizations/{org_id}/users/{id}
Request
- Base URLhttps://app.polytomic.com
- AuthHTTP bearer
Path parameters
idstring uuid required
Unique identifier of the user to update
Example:248df4b7-aa70-47b8-a036-33ac447e668d
org_idstring uuid required
Unique identifier of the organization the user belongs to
Example:248df4b7-aa70-47b8-a036-33ac447e668d
Headers
X-Polytomic-Versionstring
Request body
Example request
{
"email": "mail@example.com",
"role": "admin",
"role_ids": [
"248df4b7-aa70-47b8-a036-33ac447e668d"
]
}Response
OK
Example response
{
"data": {
"email": "mail@example.com",
"role": "admin",
"role_ids": [
"248df4b7-aa70-47b8-a036-33ac447e668d"
]
}
}Changes
No recorded changes to this operation across all 51 revisions of this API.