Delete Emergency Calling Service#

Cancels an emergency calling service.

Note

Cancellation is allowed when current status is new, changes_required, active, and pending_update.

Request#

HTTP Method: DELETE

URI Path: /v3/emergency_calling_services/{id}

URI Query Parameters#

Name

Type

Is Required?

Description

id

string

Yes

Unique ID identifier of the emergency calling service.

Examples#

http

1DELETE /v3/emergency_calling_services/a1b2c3d4-e5f6-7890-abcd-ef1234567890 HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Authorization: Bearer [access token]

curl

1curl -i -X DELETE https://api.didww.com/v3/emergency_calling_services/a1b2c3d4-e5f6-7890-abcd-ef1234567890 -H "Accept: application/vnd.api+json" -H "Content-Type: application/vnd.api+json" -H "Authorization: Bearer [access token]"

response

1HTTP/1.1 204 No Content
2Content-Type: application/vnd.api+json

Other Responses#

Code

Success

Description

401

No

Unauthorized

403

No

Forbidden. Emergency calling is not enabled for the account. Also returned when the access token carries the read scope, which does not cover this method (title Insufficient scope, WWW-Authenticate: Bearer error="insufficient_scope"). See Scopes.

404

No

Not Found

422

No

Validation Error Object. The emergency calling service is in_process or canceled.

429

No

The request budget of the account for the current window is spent (too_many_requests). Retry-After gives the number of seconds to wait.