Remove pcc profile(s) from a usage counter definition
This DELETE
operation removes PCC profile from a usage counter definition. If you wish to remove a specific pcc profile, simply add the pccProfileId
to the end of the DELETE
request. You receive an HTTP response code of 204
if removed succesfully.
See HTTP response codes for other response codes. |
DELETE
-
all
/pcc/spcm/planDefinitions/<planDefinitionId>/usageCounterDefinitions/<usageCounterDefinitionId>/pccProfiles
-
specific pcc profile
/pcc/spcm/planDefinitions/<planDefinitionId>/usageCounterDefinitions/<usageCounterDefinitionId>/pccProfiles/<pccProfileId>
HEADER INFO
tenant: <tenantName>
authorisation: HTTP Basic Auth
permissions: SPCM_PLAN_DEFINITION_DELETE_PERMISSION
URL parameters
There are two mandatory parameters and one optional parameter (for deleting specific pcc profile).
Parameter | Type | Description |
---|---|---|
|
integer |
A unique identifier for a plan definition which was assigned by the server upon creating the plan definition. |
|
integer |
A unique identifier for the usage counter. |
|
integer |
A unique identifier for the pcc profile. |
HTTP response codes
Code | Description | ||||
---|---|---|---|---|---|
|
success!
|
||||
|
Multistatus response
|
||||
|
malformed request |
||||
|
unauthorised; bad username or password |
||||
|
forbidden; user does not have appropriate privileges |
||||
|
usage counter definition 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 |