TelefonAIv1
Services

Deactivate a service

Deactivate a service. It is not deleted: bookings point at it, and they must keep their treatment.

DELETE/v1/services/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

The id of the resource.

Request

curl --request DELETE \
  --url "https://api.telefonai.dk/v1/services/<id>" \
  --header "Authorization: Bearer $API_NOEGLE"

Response

application/json

Success.

object

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}