Skip to navigation

delete

View as Markdown

Delete an IP list.

Errors

StatuscodeWhen
404protection_ip_list.ip_list_not_foundThe account has no list with this id
409protection_ip_list.ip_list_referenced_by_rulesA custom rule still uses the list; change the rule first

Accepted permissions Account → IP lists → Delete

Token scope Account IP Lists Action

Authentication

X-Api-Keystring

Personal access token. Create it in your BotBye account under Profile → Personal Access Tokens, tick the scopes the endpoints you call require (see each endpoint’s Token scope), and send the token in the X-Api-Key request header exactly as the console shows it (it is already Base64-encoded; a token saved earlier in the UUID form must be Base64-encoded first). A token works only for the account it was created in.

Path parameters

account_idstringRequired
ip_list_idstringRequired

Response

success