ZITADEL Docs
APIsCore ResourcesV1Organization Objects

ListAllProjectGrants

Search Project Grants

Deprecated: use ListProjectGrants instead.

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

POST
/projectgrants/_search

Request Body

application/json

query?

list limitations and ordering

queries?

criteria the client is looking for

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/projectgrants/_search" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "totalResult": 0,
    "processedSequence": 0,
    "viewTimestamp": "1s"
  },
  "result": [
    {
      "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?