ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddProjectGrant

Add Project Grant

Deprecated: use CreateProjectGrant instead.

Grant a project 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.

POST
/projects/{project_id}/grants

Path Parameters

project_id*string

Request Body

application/json

grantedOrgId?string
roleKeys?role_keys
[key: string]?never

Response Body

application/json

application/json

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

Was this page helpful?