Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Action

Delete Target

Delete an existing target. This will remove it from any configured execution as well. In case the target is not found, the request will return a successful response as the desired state is already achieved.

Required permission:

  • action.target.delete
DELETE
/v2/actions/targets/{id}

Path Parameters

id*id

The unique identifier of the target to delete.

Response Body

Success

application/json
  1. response
deletionDate?deletion_date

The timestamp of the deletion of the target. 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 DELETE 'https://example.com/v2/actions/targets/string'
Example Response200
{  "deletionDate": "2023-01-15T01:30:15.01Z"}

Was this page helpful?