803 B
803 B
PATCH /propertyname/{id}
Protected. Requires a valid session cookie (credentials: 'include').
Update property name
Updates name and/or sort for a property name.
Path parameters
| Param | Required | Type | Description |
|---|---|---|---|
id |
yes | integer |
Body (JSON)
| Field | Required | Type | Description |
|---|---|---|---|
name |
no | string | |
sort |
no | integer | |
exclusive |
no | boolean |
{
"name": "…",
"sort": 1,
"exclusive": true
}
Response 200
Updated property name
{
"propertyname": {
"id": 1,
"name": "…",
"sort": 1,
"exclusive": true
}
}
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.