Delete Configuration Object by Name

delete

/pdc/config/{name}

Deletes the configuration object that matches the specified name.

Request

Path Parameters
Query Parameters
  • The configuration object's type.

    Valid pricing configuration objects: ZONE_RESULT_CONFIGURATION, VALUE_MAP, STANDARD_ZONE_MODEL, GEO_ZONE_MODEL, BALANCE_ELEMENT, RUM_CONFIGURATION, HOLIDAY_CALENDAR, ATTRIBUTE_SPEC_MAP, BUSINESS_PROFILE, ITEM_TYPE_SELECTOR, CUSTOM_ANALYZER_RULE, POLICY_SPECIFICATION, DYNAMIC_QUOTA_SELECTOR, POLICY_LABEL, DELIVERABLE, PSCTEMPLATE, TAX_CODE, TAX_EXEMPTION_CODE, or PRICE_TAG_CONFIG.

There's no request body for this operation.

Back to Top

Response

204 Response

The configuration object was deleted successfully.

404 Response

The configuration object was not found.

500 Response

The system encountered an error when deleting the configuration object.
Back to Top

Examples

This example shows how to delete a RUM by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X DELETE 'http://hostname:port/pdc/config/Occurrence?type=RUM_CONFIGURATION'

where:

  • hostname is the URL for the PDC REST server.

  • port is the port for the PDC REST server.

Example of the Response Body

If successful, the response code 204 is returned with no response body.

Back to Top