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:
project.role.write
Connect-Protocol-Version*1Define the version of the Connect protocol
1Connect-Timeout-Ms?Connect-Timeout-MsDefine the timeout, in ms
application/json- body
projectId*project_idProjectID is the unique identifier of the project.
roleKey*role_keyRoleKey is the key of the role to be removed. All dependencies of this role will be removed as well, including project grants and user grants (role assignments). If the role is not found, the request will return a successful response as the desired state is already achieved.
Success
application/json- response
removalDate?removal_dateRemovalDate is the timestamp of the removal of the project role. Note that the removal date is only guaranteed to be set if the removal was successful during the request. In case the removal occurred in a previous request, the removal date might be empty.
date-timecurl -X POST 'https://example.com/zitadel.project.v2.ProjectService/RemoveProjectRole' \ -H 'Connect-Protocol-Version: 1' \ -H 'Content-Type: application/json' \ -d '{ "projectId": "string", "roleKey": "string"}'{ "removalDate": "2023-01-15T01:30:15.01Z"}Was this page helpful?
List Projects
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:
Update Project
Explore the Update Project operation in the ZITADEL API. Learn about request parameters, response schemas, and integration details for this endpoint.
