ZITADEL Docs
APIsCore ResourcesV1Organization Objects

GetGrantedProjectByID

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

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": "1s",
      "changeDate": "1s",
      "resourceOwner": "string"
    }
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?