Delete a Target

When a target is deleted, the state is set to 0 and does not appear for users the writer destroys. Only an owner or administrator can delete a target.


DELETE{target_id} HTTP/1.1

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -i \

Example Response

HTTP/1.1 204 No Content

Response Codes

204Target successfully deleted.
401Authorization header not found.
403Cannot delete a target marked with a production flag.
404Resource not found.

results matching ""

    No results matching ""