Update several credentials
PATCH/actions/bulk/telephony_credentials
Update several credentials in bulk.
Request
Query Parameters
filter[tag] stringrequired
Filter by tag, required by bulk operations.
- application/json
Body
required
Parameters to update credentials on bulk
name string
A default name for all credentials.
tag stringrequired
Tags a credential for bulk operations. A single tag can hold at maximum 1000 credentials.
amount integer
Amount of credentials to be created. A single tag can hold at maximum 1000 credentials
connection_id stringrequired
Identifies the connection this credential is associated with.
Responses
201: Successful response for Bulk credential requests
- application/json
422: Bad request
Request samples
curl -L -X PATCH 'https://api.telnyx.com/v2/actions/bulk/telephony_credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"name": "Default Name",
"tag": "My Credentials",
"connection_id": "804252963366242252"
}'
Response samples
{
"data": {
"credentials": 0
}
}