Delete target

  • DEL
  • /workspaces
  • /:workspace
  • /targets
  • /:target_id

Delete a deployment target

Request

REQUIRED SCOPES
TARGET_MANAGE
URL PARAMETERS
workspacerequiredstring
The human-readable ID of the workspace

Example: "my-company"

target_idrequiredstring
Target unique identifier (hash ID)

Example: "tgt-1234567890abcdef"

Last modified on Feb 18, 2026

Request example

CURL
curl -X DELETE "https://api.buddy.works/workspaces/:workspace/targets/:target_id" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json"
STATUS
204 Target deleted successfully