Reset usage rules
This PUT
operation resets the usage rules and counters for a plan. For example, the state
of a rule that might be violated
will reset to an active
state. If successful, you receive an HTTP response code of 204
.
See HTTP response codes for other response codes. |
PUT /pcc/spcm/subscribers/<msisdn>/plans/<planId>/reset-usage
HEADER INFO
tenant: <tenantName>
authorisation: HTTP Basic Auth
content-type: application/json
permissions: SPCM_PLAN_UPDATE_PERMISSION
URL parameters
There are two mandatory parameters.
Parameter | Type | Description |
---|---|---|
|
string |
The subscriber’s MSISDN in international format. |
|
string |
The unique plan identifier. |
HTTP response codes
Code | Description | ||||
---|---|---|---|---|---|
|
success!
|
||||
|
Multistatus response
|
||||
|
malformed request |
||||
|
unauthorised; bad username or password |
||||
|
forbidden; user does not have appropriate privileges |
||||
|
plan not found |
||||
|
conflict with target resource
|
||||
|
failed validation; this typically means that a property was not set or a value is out of range. example
|
||||
|
failed processing (after passing validation). example
|
||||
|
internal error |
||||
|
request rejected due to overload |