> For the complete documentation index, see [llms.txt](https://help-api.meltingspot.io/llms.txt)

# Update the label

> PUT /v1/customProperties/{customPropertyId}
> 
> Update the label, the description or the options of a custom property of the spot. Its type and its slug never change.



## Servers
- https://openapi.meltingspot.io: https://openapi.meltingspot.io



## Parameters

### Path parameters

- **customPropertyId** (string)
  The id of the custom property



### Body: application/json (object)

- **label** (string)
  The label of the custom property. Its slug does not change.

- **description** (string)
  The description of the custom property.

- **possibleValues** (array[object])
  Every option of a SingleSelect or MultipleSelect custom property, 2 to 100: a kept option by its slug, a new one without slug; the options left out are removed. Ignored for the other types.



## Responses
### 200
Custom property updated successfully

#### Body: application/json (object)
- **id** (string)
  The id of the custom property

- **slug** (string)
  The slug of the custom property, used to read and write its values

- **label** (string)
  The label of the custom property

- **description** (string)
  The description of the custom property

- **type** (string)
  The type of the custom property

- **possibleValues** (array[string] | null)
  The slugs of the possible values of a select custom property, null for the other types


### 400
Malformed payload, unknown option slug, select with less than two options

### 401
Unauthorized

### 403
Forbidden

### 404
Custom property not found in the spot


[Powered by Bump.sh](https://bump.sh)
