List Projects
List all matching projects. By default all projects of the instance that the caller has permission to read are returned. Make sure to include a limit and sorting for pagination.
Required permission:
project.read
Connect-Protocol-Version*1Define the version of the Connect protocol
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 projects matching the query and the applied limit.
projects?array<>Projects is a list of projects matching the query.
curl -X POST 'https://example.com/zitadel.project.v2.ProjectService/ListProjects' \ -H 'Connect-Protocol-Version: 1' \ -H 'Content-Type: application/json' \ -d '{}'{ "pagination": { "totalResult": 0, "appliedLimit": 0 }, "projects": [ { "projectId": "string", "organizationId": "string", "creationDate": "2023-01-15T01:30:15.01Z", "changeDate": "2023-01-15T01:30:15.01Z", "name": "string", "state": "PROJECT_STATE_UNSPECIFIED", "projectRoleAssertion": true, "authorizationRequired": true, "projectAccessRequired": true, "privateLabelingSetting": "PRIVATE_LABELING_SETTING_UNSPECIFIED", "grantedOrganizationId": "string", "grantedOrganizationName": "string", "grantedState": "GRANTED_PROJECT_STATE_UNSPECIFIED" } ]}Was this page helpful?
List Project Roles
List Project Roles: Returns all roles of a project matching the search query. Required permission:
Remove Project Role
Remove Project Role: Removes the role from the project and on every resource it has a dependency. This includes project grants and user grants (role assignments). Required permission:
