Activate every number in a porting order asynchronously.
POST/porting_orders/:id/actions/activate
Activate each number in a porting order asynchronously. This operation is limited to US FastPort orders only.
Request
Path Parameters
id uuidrequired
Porting Order id
Responses
202: Successful response
- application/json
401: Unauthorized
422: Unprocessable entity. Check message field in response for details.
Request samples
curl -L -X POST 'https://api.telnyx.com/v2/porting_orders/:id/actions/activate' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"id": "f1486bae-f067-460c-ad43-73a92848f902",
"status": "created",
"activation_type": "scheduled",
"activate_at": "2021-03-19T10:07:15.527Z",
"activation_windows": [
{
"start_at": "2021-03-19T10:07:15.527Z",
"end_at": "2021-03-19T10:07:15.527Z"
}
],
"record_type": "porting_activation_job",
"created_at": "2021-03-19T10:07:15.527Z",
"updated_at": "2021-03-19T10:07:15.527Z"
}
}