Deactivate E911 Service for a Phone Number

Lets you deactivate the current E911 service for your long code or toll-free phone number.

Endpoint

DELETE /numbers/:number_id/relationships/:e911_id

Path Parameters

  • number_id
    integer REQUIRED

    Your Flowroute long code or toll-free phone number with the E911 service to be deactivated.

  • e911_id
    integer REQUIRED

    The E911 record ID to be disassociated from your Flowroute long code or toll-free phone number.

Response Fields

On success, the HTTP status code in the response header is 204 No Content which means that the server successfully processed the request and is not returning any content.


Example Request

DELETE /v2/numbers/12064205780/relationships/20155 HTTP/1.1
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json

                        

Example Request

curl -X DELETE https://api.flowroute.com/v2/numbers/12064205780/relationships/20155 -u accessKey:secretKey

                        

Example Response

204 NO CONTENT

401 Unauthorized

{
  "errors": [
    {
      "detail": "Authentication failed.",
      "id": "7fc8c70a-ca58-430c-b383-b89df84f8083",
      "status": 401,
      "title": "Unauthorized"
    }
  ]
}

                

403 Forbidden

{  "errors": 
  [
    {
      "status": 403, 
      "detail": "", 
      "title": "ActionNotAuthorizedError"
    }
  ]
}