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
/granted_projects/{project_id}/grants/{grant_id}

Path Parameters

project_id*string
grant_id*string

Response Body

application/json

curl -X GET "https://loading/granted_projects/string/grants/string"
{
  "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?