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
/users/{user_id}/grants/{grant_id}

Path Parameters

user_id*string
grant_id*string

Request Body

application/json

roleKeys?array<>
[key: string]?never

Response Body

application/json

curl -X PUT "https://loading/users/string/grants/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?