PUT p8auth/subscribers/{id}/suspended
PUT /api/v1/p8auth/subscribers/1/suspended HTTP/1.1
Host: tph.io
X-Token: c9c0a840-b5f1-4e0e-84da-e8a4eedfc63b
Content-Type: application/json
{
"status": true
}
success
: boolmessages
: stringdata
: object
data
: object
id
: intreseller
: stringcompany
: stringusername
: stringproduct
: stringnetwork
: stringip_address
: stringprovider
: stringsim_number
: stringis_capped
: boolis_suspended
: boolhas_schedule
: boolstatus
: stringhas_quota
: boolquota_is_capped
: boolsoft_cap
: inthard_cap
: inttop_up
: inttop_ups_applied
: intmax_allowed_top_ups
: intmax_top_up_data
: intmax_sessions
: intpuk_number
: stringdescription
: stringhas_daily_notifications
: boolhas_threshold_notifications
: boolhas_sms_notifications
: boolusage
: object
inbundle
: intoutbundle
: inttop_up
: intquotas
: object
fixed_quota
: array
quota
: stringused
: stringusage_quota
: array
quota
: stringtop_up
: stringin_bundle_used
: stringout_bundle_used
: stringtop_up_used
: stringcreated_at
: string ("2020-01-01T00:00:00+00:00"
)updated_at
: string ("2020-01-01T00:00:00+00:00"
)labels
: array[object]
data
: array[object]
id
: intname
: stringtype_id
: intnotification_email_addresses
: object
data
: array[object]
email
: stringnotification_sms_numbers
: object
data
: array[object]
sms_number
: string{
"success":true,
"messages":"Subscriber suspended.",
"data":{
"data":{
"id":3,
"reseller":"Example Reseller",
"company":"Example Customer",
"username":"1212121212",
"product":"Example APN Product",
"network":"Network 1",
"ip_address":"192.168.0.2",
"provider":"Provider 1",
"sim_number":"8991101200003204510",
"is_capped":false,
"is_suspended":true,
"has_schedule":false,
"status":"Disabled",
"has_quota":false,
"quota_is_capped":false,
"soft_cap":524288000,
"hard_cap":1073741824,
"top_up":null,
"top_ups_applied":0,
"max_allowed_top_ups":null,
"max_top_up_data":null,
"max_sessions":1,
"puk_number":"1234",
"description":"Updated description",
"has_daily_notifications":true,
"has_threshold_notifications":true,
"has_sms_notifications":true,
"usage":{
"inbundle":null,
"outbundle":null,
"top_up":null
},
"quotas":{
"fixed_quota":null,
"usage_quota":null
},
"created_at":"2018-04-24T16:13:35+00:00",
"updated_at":"2018-04-25T11:05:01+00:00",
"labels":{
"data":[
{
"id":1,
"name":"Label 1",
"type_id":1
}
]
},
"notification_email_addresses":{
"data":[
{
"email":"email1@example.com"
},
{
"email":"email2@example.com"
}
]
},
"notification_sms_numbers":{
"data":[
{
"sms_number":"0123456789"
},
{
"sms_number":"9876543210"
}
]
}
}
}
}