Skip to navigation

delete

View as Markdown

DELETE /api/v1/{account_id}/projects/{project_id}/rules/{rule_id}

This endpoint is used to delete a specific rule within a project of an account.

Request

No request body parameters are required for this endpoint.

  • base_url (string): The base URL of the API.

  • account_id (string): The unique identifier of the account.

  • project_id (string): The unique identifier of the project.

  • rule_id (string): The unique identifier of the rule to be deleted.

Response

The response for this request is a JSON object with the following schema:

{}

Accepted permissions Project → Project → Custom rules → Delete

Token scope Project 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. A token works only for the account it was created in.

Path parameters

account_idstringRequired
project_idstringRequired
rule_idstringRequired

Response headers

Content-Lengthinteger
ConnectionstringOptional

Response

success

Errors

400
Bad Request Error