Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Application

Delete Application Key

Deletes an application key matching the provided ID.

Organization ID is not mandatory, but helps with filtering/performance.

The deletion time is returned in response message.

Required permissions:

  • project.app.write
POST
/zitadel.application.v2.ApplicationService/DeleteApplicationKey

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
keyId*key_id

The unique ID of the application key to be deleted.

applicationId*application_id

The ID of the application the key belongs to.

projectId*project_id

The ID of the project the application belongs to.

Response Body

Success

application/json
  1. response
deletionDate?deletion_date

The timestamp of the application key deletion. In case the key was already deleted, the previous deletion date is returned. This can be used to check if the key was actually deleted.

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

Was this page helpful?