ZITADEL Docs
APIsCore ResourcesV2Action

DeleteTarget

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*string

The unique identifier of the target to delete.

Response Body

application/json

application/json

curl -X DELETE "https://loading/v2/actions/targets/string"
{
  "deletionDate": "1s"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?