Suspend a plan attachment
SubscriptionV2
Suspend a plan attachment
This operation stops all telco services on this attachment and puts it in a suspended state. This is a non-reversible operation. For some providers, this operation is only allowed if the attachment is not yet activated.
Please note that API is NOT supported for suspending recurring plans yet.
POST
Suspend a plan attachment
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
esim ICCID or subscription id
id of the plan attachment
Response
200 - application/json
OK
Available options:
CREATED, PENDING_FOR_FIRST_USE, SCHEDULED, ACTIVE, EXPIRED, SUSPENDED Example:
{
"dataBytes": 1024,
"voiceSeconds": 60,
"smsMessages": 100
}Example:
{
"name": "Australia 1GB 7d",
"dataMegaBytes": 1024,
"periodDays": 1,
"periodIterations": 7,
"throttledSpeedKbps": 128,
"label": "alpha",
"coverageProfileId": "cvpr_ybrs38es"
}