import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const requirementGroup = await client.requirementGroups.delete('id');
console.log(requirementGroup.id);{
"id": "<string>",
"country_code": "<string>",
"phone_number_type": "<string>",
"status": "approved",
"action": "<string>",
"customer_reference": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"record_type": "requirement_group",
"regulatory_requirements": [
{
"requirement_id": "<string>",
"field_value": "<string>",
"field_type": "<string>",
"status": "approved",
"expires_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const requirementGroup = await client.requirementGroups.delete('id');
console.log(requirementGroup.id);{
"id": "<string>",
"country_code": "<string>",
"phone_number_type": "<string>",
"status": "approved",
"action": "<string>",
"customer_reference": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"record_type": "requirement_group",
"regulatory_requirements": [
{
"requirement_id": "<string>",
"field_value": "<string>",
"field_type": "<string>",
"status": "approved",
"expires_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the requirement group
Deleted requirement group
approved, unapproved, pending-approval, declined, expired "requirement_group"
Show child attributes
approved, unapproved, pending-approval, declined, expired Was this page helpful?