List Project Grants
Returns a list of project grants. A project grant is when the organization grants its project to another organization.
Required permission:
project.grant.read
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/zitadel.project.v2.ProjectService/ListProjectGrants" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"pagination": {
"totalResult": 0,
"appliedLimit": 0
},
"projectGrants": [
{
"organizationId": "string",
"creationDate": "2023-01-15T01:30:15.01Z",
"changeDate": "2023-01-15T01:30:15.01Z",
"grantedOrganizationId": "string",
"grantedOrganizationName": "string",
"grantedRoleKeys": [
"string"
],
"projectId": "string",
"projectName": "string",
"state": "PROJECT_GRANT_STATE_UNSPECIFIED"
}
]
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Was this page helpful?