Deactivate Project Grant
Set the state of the project grant to deactivated. Applications under deactivated projects grants are not able to login anymore.
Required permission:
project.grant.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.
grantedOrganizationId*granted_organization_idGrantedOrganizationID is the unique identifier of the organization the project was granted to.
Success
application/json- response
changeDate?change_dateChangeDate is the timestamp of the change of the project grant.
date-timecurl -X POST 'https://example.com/zitadel.project.v2.ProjectService/DeactivateProjectGrant' \ -H 'Connect-Protocol-Version: 1' \ -H 'Content-Type: application/json' \ -d '{ "projectId": "string", "grantedOrganizationId": "string"}'{ "changeDate": "2023-01-15T01:30:15.01Z"}Was this page helpful?
Deactivate Project
Deactivate Project: Set the state of a project to deactivated. Request returns no error if the project is already deactivated. Applications under deactivated projects are not able to login anymore. Required permission:
Delete Project
Delete Project: Delete an existing project. In case the project is not found, the request will return a successful response as the desired state is already achieved. Required permission:
