Version: SG FLX
Community
Delete Account
Endpoint
DELETE /_signals/account/{account_type}/{account_id}
Deletes the account of type {account_type}
identified by the {account_id}
path parameter.
Path Parameters
{account_type} The type of the account to be deleted. Required.
{account_id} The id of the account to be deleted. Required.
Responses
200 OK
The account was successfully deleted.
403 Forbidden
The user does not have the permission to delete accounts.
404 Not found
An account with the given id does not exist.
409 Conflict
The account is still used by a watch
Permissions
For being able to access the endpoint, the user needs to have the privilege cluster:admin:searchguard:signals:account/delete
.
This permission is included in the following built-in action groups:
- SGS_SIGNALS_ACCOUNT_MANAGE
Examples
DELETE /_signals/account/slack/my_account
Response
200 OK