Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DELETE /platforms/:platform/status #23

Open
davidraker opened this issue Feb 1, 2022 · 1 comment
Open

DELETE /platforms/:platform/status #23

davidraker opened this issue Feb 1, 2022 · 1 comment

Comments

@davidraker
Copy link
Contributor

Clear status for all agents on the specified platform.

Request:

  • Authorization: BEARER <jwt_token>

Response:

  • With valid BEARER token on success: 204 No Content

  • With valid BEARER token on failure: 400 Bad Request

    • Content Type: application/json
    • Body:
      {
          "error": "<Error Message>"
      }
      
  • With invalid BEARER token: 401 Unauthorized

@davidraker
Copy link
Contributor Author

davidraker commented Feb 1, 2022

This can be accomplished with the clear_status RPC method on the control service. It appears that True must be passed to the clear_all parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants