Machines

Delete a machine

Deletes a machine identified by its public_id (JSON body). 404 if the machine is not owned by the caller; on success replies 204 No Content with no body. Cookie callers must pass CSRF.

This is a write: a read-only API key is refused with 403.

post/api/delete_machine/

Request

  • Base URL: https://eyalsec.com
  • URL: https://eyalsec.com/api/delete_machine/
  • Auth: one of:
    • API key in header X-API-Key
    • API key in cookie __Host-es2session

Request body

public_idstring required

The machine's public id.

Response

Done. No body.

Changes

No recorded changes to this operation across all 1 revision of this API.