Skip to main content

Update credentials for a connection

PUT 
/security/connections/:connection_id/fqdn_authentication

Updates the connection credentials with the values of the parameters passed. Any parameters not included in the request will be left unchanged.

Request

Path Parameters

    connection_id stringrequired

    ID of the connection whose credentials are to be updated

Body

FQDN Authentication details

    user_name stringrequired

    user_name that will be sent when using the connection. Must be globally unique among all connections, not just FQDN authentication connections. Case-insensitive.

    password stringrequired

    password that will be sent when using the connection. Must be at least 8 characters or more in length.

    ip_authentication_method string

    Possible values: [tech-prefix, token, p-charge-info]

    Default value: tech-prefix

    The method of authentication to use if this FQDN auth strategy uses IP-based outbound. Defaults to "tech-prefix". Has no effect if this auth strategy uses credentials for outbound authentication.

    fqdn_outbound_authentication string

    Possible values: [credential-authentication, ip-authentication]

    Default value: credential-authentication

    The method of authentication to use for outbound calls on this authentication strategy. Defaults to "credential-authentication".

    webhook_url string

    URL to which Telnyx will deliver your Call Control webhooks

    failover_url string

    URL to which Telnyx will deliver your Call Control webhooks if we get an error response from your webhook_url

Responses

200: FQDN Authentication update response

400: Bad Request

401: Unauthorized

404: Record Not Found

Request samples


curl -L -X PUT 'https://api.telnyx.com/security/connections/:connection_id/fqdn_authentication' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"user_name": "string",
"password": "string",
"ip_authentication_method": "tech-prefix",
"fqdn_outbound_authentication": "credential-authentication",
"webhook_url": "string",
"failover_url": "string"
}'

Response samples


{
"success": true,
"message": "string",
"reasons": {}
}