Delete a Product Offering
delete
http://host:port/productCatalogManagement/v4/productOffering/{id}
Deletes the product offering based on ID.
Request
Path Parameters
-
id(required): string
A unique ID that identifies resources.
There's no request body for this operation.
Back to TopResponse
204 Response
The request was successfully processed by the server, but no content was returned.
400 Response
The server cannot process the request due to a client error.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
401 Response
The user's authentication credentials for the target resource are invalid.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
404 Response
The requested resource was not found, but it could be accessible in the future. Subsequent client requests are permitted.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
405 Response
The requested resource does not support the particular request method.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
500 Response
When an unexpected condition is identified and no specific message is appropriate, this generic error message is displayed.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
Examples
This example shows how to delete a product offering 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/productCatalogManagement/v4/productOffering/{id}'
Example of the Response Body
If successful, the response code 204 is returned with no response body.