Files
dashback/docs/api/routes/attributename/order.md
2026-10-07 21:43:51 +02:00

36 lines
561 B
Markdown

# `PUT /attributename/order`
Protected. Requires a valid session cookie (`credentials: 'include'`).
Reorder attribute names
Updates the display sort order of attribute names for the selected company.
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `attributenameIds` | yes | integer[] | |
```json
{
"attributenameIds": [
1
]
}
```
## Response `200`
Reordered successfully
```json
{
"ok": true
}
```
---
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._