---
title: "Disable a Market Segmentation Segment."
method: POST
path: "/market-segmentation/v1/segments/{id}/disable"
tags: ["Market Segmentation"]
---

# Disable a Market Segmentation Segment.

`POST /market-segmentation/v1/segments/{id}/disable`

## Request

- Base URL: `https://api.cloudbeds.com`
- URL: `https://api.cloudbeds.com/market-segmentation/v1/segments/{id}/disable`
- Auth: OAuth 2
  - Authorization code: `https://api.cloudbeds.com/auth/oauth/authorize`
  - Token URL: `https://api.cloudbeds.com/auth/oauth/token` scopes: `write:marketsegment`

## Path parameters

- `id` Id, required (unresolved $ref)

## Headers

- `x-property-id` string, required

## Response `204`

Market Segmentation Segment was disabled.

- unknown

## Other responses

- `400`: Bad request response.
- `403`: Forbidden response.
- `404`: Not found response.
- `500`: Internal server error

---

[API](https://skmtc.dev/cloudbeds/apis/cloudbeds-api-v2.md) - [All operations](https://skmtc.dev/cloudbeds/apis/cloudbeds-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/cloudbeds-api-v2/revisions/69bffac143cc?raw)
