Update a tab row
Update the order or enabled state for a tab row owned by the authenticated tenant. Use this endpoint for drag-and-drop ordering and visibility toggles.…
Update the order or enabled state for a tab row owned by the authenticated tenant. Use this endpoint for drag-and-drop ordering and visibility toggles. Legacy synthetic custom tab IDs such as custom-* are rejected; pass the Directus tab row ID returned by GET /api/v1/tabs.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Directus tab row ID.
Format
uuidLength
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Properties
1 <= propertiesResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/tabs/3f8b1f4e-7b2a-4f68-8b1b-8d5c3d1e9f42" \ -H "Content-Type: application/json" \ -d '{ "order": 3 }'{ "success": true, "data": { "tab": { "id": "3f8b1f4e-7b2a-4f68-8b1b-8d5c3d1e9f42", "tenant": "tenant-123", "kind": "custom", "system_tab": null, "custom_tab": "tab-vendor-assurance", "order": 3, "enabled": false } }}How is this guide?