Open davidraker opened 2 years ago
Stop all agents on all connected platforms.
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 by getting all known platforms and then calling the "shutdown" method on the control service of each.
Stop all agents on all connected platforms.
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