ZITADEL Docs
APIsCore ResourcesV1Organization Objects

UpdateProjectGrant

Change Project Grant

Deprecated: use UpdateProjectGrant instead.

Change the roles of the project that is granted to another organization. The project grant will allow the granted organization to access the project and manage the authorizations for its users. Project Grant will be listed in the granted project of the granted organization.

PUT
/projects/{project_id}/grants/{grant_id}

Path Parameters

project_id*string
grant_id*string

Request Body

application/json

roleKeys?role_keys
[key: string]?never

Response Body

application/json

application/json

curl -X PUT "https://loading/projects/string/grants/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?