agents

Bulk Disable Agents

Disables many agents, each through the same rules as the single route (manager() per agent). Exactly one of ids or filter; at most 500. Agents that could not be changed come back in skipped with their machine code.

post/agents/bulk/disable

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/agents/bulk/disable
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Request body

idsstring[]
reasonstring

Response

OK

successboolean

Example response

{
  "data": {
    "skipped": [
      {
        "error": "agent_suspended"
      }
    ]
  },
  "success": true
}

Changes

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