Delete

  • DELETE
  • /workspaces
  • /:workspace
  • /targets
  • /:target_id

Deletes a target from the specified workspace using its ID.
This action is irreversible and requires the TARGET_MANAGE scope.

Request

REQUIRED SCOPES
WORKSPACE, TARGET_MANAGE
URL PARAMETERS
workspacerequired string
The workspace name.
target_idrequired string
ID of the desired target.

Last modified on May 19, 2025

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 NoContent
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999
OSZAR »