Skip to content

Now open source · Learn more

DocsDelete a Mode

Delete a Mode

DELETEhttp://127.0.0.1:{port}/modes/{id}

Send Authorization: Bearer <token>, with the token from the discovery file. See the Local API overview for the port, the token and the response envelope.

Refuses to delete the last remaining Mode (returns ok=false / INVALID_REQUEST).

Path parameters

  • idstring (uuid)required

Responses

200 Ok wrapper

application/json, OkResponse

  • okbooleanrequired

    one of true

The whole spec is openapi.yaml.