---
title: "POST /private-offers/{id}/cancel"
method: POST
path: "/private-offers/{id}/cancel"
tags: ["Private Offers"]
---

# POST /private-offers/{id}/cancel

`POST /private-offers/{id}/cancel`

## Path parameters

- `id` string, required

## Request body

- OffersPrivateOfferDetails
  - `id` string
  - `product` OffersProduct — Product representation.
    - `id` string
    - `name` string
    - `icon` string, nullable
    - `status` 'draft' | 'indevelopment' | 'oncertification' | 'published' | 'initializationfailed' | 'deleted' | 'endofsale'
  - `marketplace` OffersMarketplace
    - `id` string
    - `name` string
    - `icon` string, nullable
    - `owner` OffersAccount — Account representation.
      - `id` string
      - `name` string, required
  - `owner` OffersAccount — Account representation.
    - `id` string
    - `name` string, required
  - `name` string
  - `customer_id` string
  - `external_id` string, nullable
  - `status` 'draft' | 'publishing' | 'published' | 'failed' | 'accepted' | 'rejected' | 'expired' | 'cancelling' | 'cancelled'
  - `hyperscaler` 'azure'
  - `description` string, nullable
  - `expiration_time` string, date-time
  - `start_time` string, date-time, nullable
  - `start_on_accept` boolean
  - `end_time` string, date-time, nullable
  - `duration` integer, nullable — Duration of the subscription in days, when 'End time' is NULL
  - `hs_status` string, nullable — Status of the private offer in the hyperscaler system
  - `hs_error_message` string, nullable
  - `configuration` object — Configuration of the private offer, specific to the hyperscaler
  - `eula_url` string, uri, nullable — URL to the End User License Agreement for the private offer
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `accepted` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string

## Response `200`

- OffersPrivateOfferDetails
  - `id` string
  - `product` OffersProduct — Product representation.
    - `id` string
    - `name` string
    - `icon` string, nullable
    - `status` 'draft' | 'indevelopment' | 'oncertification' | 'published' | 'initializationfailed' | 'deleted' | 'endofsale'
  - `marketplace` OffersMarketplace
    - `id` string
    - `name` string
    - `icon` string, nullable
    - `owner` OffersAccount — Account representation.
      - `id` string
      - `name` string, required
  - `owner` OffersAccount — Account representation.
    - `id` string
    - `name` string, required
  - `name` string
  - `customer_id` string
  - `external_id` string, nullable
  - `status` 'draft' | 'publishing' | 'published' | 'failed' | 'accepted' | 'rejected' | 'expired' | 'cancelling' | 'cancelled'
  - `hyperscaler` 'azure'
  - `description` string, nullable
  - `expiration_time` string, date-time
  - `start_time` string, date-time, nullable
  - `start_on_accept` boolean
  - `end_time` string, date-time, nullable
  - `duration` integer, nullable — Duration of the subscription in days, when 'End time' is NULL
  - `hs_status` string, nullable — Status of the private offer in the hyperscaler system
  - `hs_error_message` string, nullable
  - `configuration` object — Configuration of the private offer, specific to the hyperscaler
  - `eula_url` string, uri, nullable — URL to the End User License Agreement for the private offer
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `accepted` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string

## Other responses

- `400`

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/versions/54fef191d46c/schema)
