ZITADEL Docs
APIsCore ResourcesV1Organization Objects

GetProjectGrantByID

Project Grant By ID

Deprecated: use ListProjectGrants instead.

Returns a project grant. A project grant is when the organization grants its project to another organization.

GET
/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/projects/string/grants/string"
{
  "projectGrant": {
    "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?