Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Get Granted Project By ID

Deprecated: use project v2 service ListProjectGrants instead.

Returns a project owned by another organization and granted to my organization. A Project is a vessel for different applications sharing the same role context.

GET
/management/v1/granted_projects/{project_id}/grants/{grant_id}

Path Parameters

project_id*project_id
grant_id*grant_id

Response Body

Success

application/json
  1. response
grantedProject?
Example Request
curl -X GET 'https://example.com/management/v1/granted_projects/string/grants/string'
Example Response200
{  "grantedProject": {    "grantId": "string",    "grantedOrgId": "string",    "grantedOrgName": "string",    "grantedRoleKeys": [      "string"    ],    "state": "PROJECT_GRANT_STATE_UNSPECIFIED",    "projectId": "string",    "projectName": "string",    "projectOwnerId": "string",    "projectOwnerName": "string",    "details": {      "sequence": 0,      "creationDate": "2023-01-15T01:30:15.01Z",      "changeDate": "2023-01-15T01:30:15.01Z",      "resourceOwner": "string"    }  }}

Was this page helpful?