Remove phone numbers from a DIR
Deregister phone numbers from a DIR. The enterprise is resolved server-side from the DIR id. Returns a partial-success envelope.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The DIR id. Lowercase UUID.
"16635d38-75a6-4481-82e8-69af60e05011"
Body
1 - 15 elementsResponse
Bulk-delete response. Inspect both deleted and errors.
Bulk-delete partial-success response. data is the list of phone numbers that were soft-deleted. meta.errors holds per-number failures (e.g. number not associated with this DIR). When EVERY number in the request fails, the endpoint instead returns 400 with the canonical Telnyx error envelope and data/meta are absent.