Set sidebar order

View as Markdown
Upserts the caller's preferred ordering of projects in the sidebar. All ids must be accessible, active projects.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Request

This endpoint expects an object.
projectIdslist of stringsRequired

Response

The persisted sidebar order.
projectIdslist of strings

Errors

400
Bad Request Error
401
Unauthorized Error