Version: 7.x-36.0.0

This is a technical preview. Technical preview features are not fully supported, may not be functionally complete, and are not suitable for deployment in production. We encourage you to try them out and provide your feedback, good and bad, on the Search Guard forum. This will help us improve and add any features you might be missing.

Delete Account

Endpoint

DELETE /_signals/account/{account_id}

Deletes the account identified by the {account_id} path parameter.

Important: Right now, it is possible to delete accounts even if they are still used by watches. After deleting an account which is still used by a watch, the watch will fail to execute.

Path Parameters

{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.

Permissions

For being able to access the endpoint, the user needs to have the privilege cluster:admin:searchguard:signals:destination/delete .

This permission is included in the following built-in action groups:

  • SGS_SIGNALS_ACCOUNT_MANAGE

Examples

DELETE /_signals/account/my_destination

Response

200 OK

Not what you were looking for? Try the search.