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
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
ProjectID is the unique identifier of the project.
GrantedOrganizationID is the unique identifier of the organization the project was granted to.
Response Body
application/json
application/json
curl -X POST "https://loading/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"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}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: