Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Project

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:

  • project.write
POST
/zitadel.project.v2.ProjectService/DeactivateProject

Header Parameters

Connect-Protocol-Version*1

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?Connect-Timeout-Ms

Define the timeout, in ms

Request Body

application/json
  1. body
projectId*project_id

ProjectID is the unique identifier of the project.

Response Body

Success

application/json
  1. response
changeDate?change_date

ChangeDate is the timestamp of the change of the project.

Formatdate-time
Example Request
curl -X POST 'https://example.com/zitadel.project.v2.ProjectService/DeactivateProject' \  -H 'Connect-Protocol-Version: 1' \  -H 'Content-Type: application/json' \  -d '{  "projectId": "string"}'
Example Response
{  "changeDate": "2023-01-15T01:30:15.01Z"}

Was this page helpful?