Delete offering
DELETEhttps://euwest.api.elasticpath.com/v2/subscriptions/offerings/:offering_uuid
When a subscription is created, it creates a snapshot of the offering. This means you can delete an offering without affecting any active subscriptions.
Request
Path Parameters
offering_uuid UUIDrequired
The unique identifier of the offering.
Responses
- 204
- 500
Success. The subscription offering is removed.
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
errors Error[]required
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred.",
"meta": {
"missing_ids": [
"e7d50bd5-1833-43c0-9848-f9d325b08be8"
]
}
}
]
}
{
"errors": [
{
"title": "Internal Server Error",
"status": "500"
}
]
}
Authorization: http
name: BearerTokentype: httpscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://euwest.api.elasticpath.com/v2/subscriptions/offerings/:offering_uuid' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear