Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Update User Grant

Deprecated: Update an authorization to update a user's roles on an owned or granted project.

Update the roles of a user grant. User grants are the roles users have for a specific project and organization.

Note: User grant refers to role assignments.

PUT
/management/v1/users/{user_id}/grants/{grant_id}

Path Parameters

user_id*user_id
grant_id*grant_id

Request Body

application/json
  1. body
roleKeys?array<string>

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X PUT 'https://example.com/management/v1/users/string/grants/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?