parameters: - schema: type: string name: agentId in: path required: true post: summary: Unenroll agent tags: - Agents responses: '200': description: OK content: application/json: schema: type: object '400': description: BAD REQUEST content: application/json: schema: type: object properties: error: type: string message: type: string statusCode: type: number enum: - 400 operationId: unenroll-agent parameters: - $ref: ../components/headers/kbn_xsrf.yaml requestBody: content: application/json: schema: type: object properties: revoke: type: boolean force: type: boolean