Search Project Grants from Project
Deprecated: use ListProjectGrants instead.
Returns a list of project grants for a specific project. A project grant is when the organization grants its project to another organization.
Path Parameters
Request Body
application/json
list limitations and ordering
criteria the client is looking for
Response Body
application/json
curl -X POST "https://loading/projects/string/grants/_search" \ -H "Content-Type: application/json" \ -d '{}'{
"details": {
"totalResult": 0,
"processedSequence": 0,
"viewTimestamp": "2023-01-15T01:30:15.01Z"
},
"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": "2023-01-15T01:30:15.01Z",
"changeDate": "2023-01-15T01:30:15.01Z",
"resourceOwner": "string"
}
}
]
}Was this page helpful?
Search Project Grants
Search Project Grants: Deprecated: use [ListProjectGrants](/reference/api/project/zitadel.project.v2.ProjectService.ListProjectGrants) instead. Returns a list of project grants. A project grant is when the organization g...
Search Project Roles
Search Project Roles: Deprecated: use [project v2 service ListProjectRoles](/reference/api/project/zitadel.project.v2.ProjectService.ListProjectRoles) instead. Returns all roles of a project matching the search query.