Skip to main content
PATCH
Reorder the caller's saved analytics views
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Reorder the caller’s saved analytics views Takes the full ordered list of the caller’s view IDs; the server writes sortOrder as each ID’s array index. Returns the re-ordered list so the client can reconcile without a refetch. Authorization:
  • Required role: user or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
order
string<uuid>[]
required
Minimum array length: 1

Response

Views reordered

status
string
Example:

"success"

SavedViews
object[]
totalItems
integer
totalPages
integer
Example:

1

currentPage
integer
Example:

1