Machines
Set a machine's OS target
Sets a machine's OS target (os_type = distro_arch, validated against the supported targets), keyed by the machine's display name. 404 if no machine of that name is owned by the caller. Cookie callers must pass CSRF.
This is a write: a read-only API key is refused with 403.
post/api/set_machine_os/
Request
- Base URL: https://eyalsec.com
- URL: https://eyalsec.com/api/set_machine_os/
- Auth: one of:
- API key in header X-API-Key
- API key in cookie __Host-es2session
Response
OK.
object required
Changes
No recorded changes to this operation across all 1 revision of this API.