Skip to main content

Update a credential connection registration status

POST 
/credential_connections/:id/actions/check_registration_status

Updates the registration_status for a credential connection, this endpoint also updates the registration_status and registration_status_updated_at fields in the credential connection

Request

Path Parameters

    id stringrequired

    Identifies the resource.

Responses

200: Successful response with details about a credential connection registration status.

400: Bad request, the request was unacceptable, often due to missing a required parameter.

401: Unauthorized

403: The user doesn't have the required permissions to perform the requested action.

404: The requested resource doesn't exist.

Request samples


curl -L -X POST 'https://api.telnyx.com/v2/credential_connections/:id/actions/check_registration_status' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"data": {
"record_type": "registration_status",
"status": "Expired",
"sip_username": "rogerp",
"ip_address": "190.106.106.121",
"transport": "UDP",
"port": 37223,
"user_agent": "Z 5.4.12 v2.10.13.2-mod",
"last_registration": "2021-09-28T15:11:02",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58"
}
}
}