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/agents/:vip_identity/configs #35

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

DELETE /platforms/:platform/agents/:vip_identity/configs #35

davidraker opened this issue Feb 24, 2022 · 1 comment

Comments

@davidraker
Copy link
Contributor

Remove the configuration store for an agent. This endpoint will return 409 Conflict if
the store for this agent is not empty. To remove all existing configurations for an agent from the config store
and delete the store, true must be passed to the all query parameter.

Request:

  • Authorization: BEARER <jwt_token>
    • Query Parameters:
      • all: Boolean (default false)

Response:

  • With valid BEARER token on success: 204 No Content

  • With valid BEARER token on failure: 400 Bad Request or 409 Conflict

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

@davidraker
Copy link
Contributor Author

Use 'manage_delete_store' RPC method on the 'config.store' service.

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