Skip to main content

Update a Network

PATCH 
/networks/:id

Update a Network.

Request

Path Parameters

    id uuidrequired

    Identifies the resource.

Body

required

    name stringrequired

    A user specified name for the network.

Responses

200: Successful response

default: Unexpected error

Request samples


curl -L -X PATCH 'https://api.telnyx.com/v2/networks/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"name": "test network"
}'

Response samples


{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": true,
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"name": "test network"
}
}