Skip to main content

Update a porting activation job

PATCH 
/porting_orders/:id/activation_jobs/:activationJobId

Updates the activation time of a porting activation job.

Request

Path Parameters

    id uuidrequired

    Porting Order id

    activationJobId uuidrequired

    Activation Job Identifier

Body

required

    activate_at date-time

    The desired activation time. The activation time should be between any of the activation windows.

Responses

200: Successful response

404: Not found

422: Unprocessable entity. Check message field in response for details.

Request samples


curl -L -X PATCH 'https://api.telnyx.com/v2/porting_orders/:id/activation_jobs/:activationJobId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"activate_at": "2019-01-01T00:00:00Z"
}'

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"
}
}