Machines

Get the command that removes es-python from a machine

Returns a one-time secret and the uninstall script path for one of your machines, the same command the Machines page shows. The secret is single-use with a short life. es-python machines only: the command removes that product and nothing else, so asking for another product's machine is a 422 (delete the machine instead).

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

post/api/get_uninstall_script_data/

Request

  • Base URL: https://eyalsec.com
  • URL: https://eyalsec.com/api/get_uninstall_script_data/
  • 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, from GET /api/get_all_machines/.

Response

OK.

object required

Changes

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