Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

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 role assignments for its users. Project Grant will be listed in the granted project of the granted organization.

POST
/management/v1/projects/{project_id}/grants

Path Parameters

project_id*project_id

Request Body

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

Response Body

Success

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

Was this page helpful?