{ "opencollection": "1.0.0", "info": { "name": "Telnyx Access Tokens Phone Number Blocks Background Jobs API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Phone Number Blocks Background Jobs", "type": "folder" }, "items": [ { "info": { "name": "Lists the phone number blocks jobs", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/phone_number_blocks/jobs", "params": [ { "name": "page", "value": "", "type": "query", "description": "Consolidated page parameter (deepObject style). Originally: page[size], page[number]" }, { "name": "sort", "value": "", "type": "query", "description": "Specifies the sort order for results. If not given, results are sorted by created_at in descending order." }, { "name": "filter", "value": "", "type": "query", "description": "Consolidated filter parameter (deepObject style). Originally: filter[type], filter[status]" } ] }, "docs": "Lists the phone number blocks jobs" }, { "info": { "name": "Deletes all numbers associated with a phone number block", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/phone_number_blocks/jobs/delete_phone_number_block", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new background job to delete all the phone numbers associated with the given block. We will only consider the phone number block as deleted after all phone numbers associated with it are removed, so multiple executions of this job may be necessary in case some of the phone numbers present errors during the deletion process." }, { "info": { "name": "Retrieves a phone number blocks job", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/phone_number_blocks/jobs/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifies the Phone Number Blocks Job." } ] }, "docs": "Retrieves a phone number blocks job" } ] } ], "bundled": true }