Check out our upcoming events and meetups! View events →
Remove a phone number from Number Reputation monitoring for an enterprise.
The number will no longer be tracked and reputation data will no longer be refreshed.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
await client.enterprises.reputation.numbers.disassociate('+16035551234', {
enterprise_id: '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
});{
"errors": [
{
"code": "10015",
"title": "Bad Request",
"detail": "User has already agreed to Terms of Service version v1.0.0",
"meta": {
"url": "<string>"
},
"source": {
"pointer": "/body/organization_type"
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the enterprise (UUID)
"6a09cdc3-8948-47f0-aa62-74ac943d6c58"
Phone number in E.164 format
"+16035551234"
Phone number disassociated successfully
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
await client.enterprises.reputation.numbers.disassociate('+16035551234', {
enterprise_id: '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
});{
"errors": [
{
"code": "10015",
"title": "Bad Request",
"detail": "User has already agreed to Terms of Service version v1.0.0",
"meta": {
"url": "<string>"
},
"source": {
"pointer": "/body/organization_type"
}
}
]
}