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.
- application/json
400: Bad request, the request was unacceptable, often due to missing a required parameter.
- application/json
401: Unauthorized
- application/json
403: The user doesn't have the required permissions to perform the requested action.
- application/json
404: The requested resource doesn't exist.
- application/json
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"
}
}
}
{
"errors": [
{
"code": "string",
"detail": "string",
"meta": {
"url": "string"
},
"title": "string",
"source": {
"pointer": "string"
}
}
]
}
{
"errors": [
{
"code": "string",
"detail": "string",
"meta": {
"url": "string"
},
"title": "string",
"source": {
"pointer": "string"
}
}
]
}
{
"errors": [
{
"code": "string",
"detail": "string",
"meta": {
"url": "string"
},
"title": "string",
"source": {
"pointer": "string"
}
}
]
}
{
"errors": [
{
"code": "string",
"detail": "string",
"meta": {
"url": "string"
},
"title": "string",
"source": {
"pointer": "string"
}
}
]
}