Open davidraker opened 2 years ago
Stop all agents on the platform.
Request:
BEARER <jwt_token>
Response:
With valid BEARER token on success: 204 No Content
204 No Content
With valid BEARER token on failure: 400 Bad Request
400 Bad Request
application/json
{ "error": "<Error Message>" }
With invalid BEARER token: 401 Unauthorized
401 Unauthorized
This can be accomplished with an RPC call to the "shutdown" method on the "control" service.
Stop all agents on the platform.
Request:
BEARER <jwt_token>
Response:
With valid BEARER token on success:
204 No Content
With valid BEARER token on failure:
400 Bad Request
application/json
With invalid BEARER token:
401 Unauthorized