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
POST
Connect-Protocol-Version*1Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?Connect-Timeout-MsDefine the timeout, in ms
application/json- body
pagination?|Pagination can be used to list limitations and ordering.
sortingColumn?|SortingColumn is the field the result is sorted by. The default is the creation date. Beware that if you change this, your result pagination might be inconsistent.
filters?array<||||>Filters define the criteria to query for.
Success
application/json- response
pagination?Pagination contains the total number of project grants matching the query and the applied limit.
projectGrants?array<>ProjectGrants is a list of project grants matching the query.
curl -X POST 'https://example.com/zitadel.project.v2.ProjectService/ListProjectGrants' \ -H 'Connect-Protocol-Version: 1' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "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" } ]}Was this page helpful?
