Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Project

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:

  • project.delete
POST
/zitadel.project.v2.ProjectService/DeleteProject

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 to be deleted.

Response Body

Success

application/json
  1. response
deletionDate?deletion_date

DeletionDate is the timestamp of the deletion of the project. Note that the deletion date is only guaranteed to be set if the deletion was successful during the request. In case the deletion occurred in a previous request, the deletion date might be empty.

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

Was this page helpful?