Docs
GuidesAPI referenceWebhooksWeb widget

Assistants

Delete an assistant

DELETE/assistants/{assistant_id}

Your default assistant can't be deleted: the request returns 409 with default_assistant.

#Parameters

assistant_idinteger · pathrequired

#Example request

curl -X DELETE https://app.bluepenguin.io/api/v1/assistants/12 \
  -H "Authorization: Bearer $BLUEPENGUIN_KEY"

#Example response

200 OK
{
  "ok": true
}

#Errors

StatusWhen
401Missing or invalid API key.
404not_found: it doesn't exist or belongs to another business.
422A parameter or field is invalid; the reply lists which.
429More than 240 requests a minute on this key.