Skip to content

Replaces the caller's favorites with the given ordered list.

PUT
/v1/m/consoleviews/favorites
curl --request PUT \
--url https://example.com/v1/m/consoleviews/favorites \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "favorites": [ { "id": "example", "kind": "feature" } ] }'

Replaces the caller’s favorites with the given ordered list.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

The handler decodes one strict JSON document, bounded at 1 MiB.

Media type application/json
object
favorites
required

The caller’s favorites in display order. The list replaces the stored one; an id may appear once.

Array<object>
<= 256 items
object
id
required
string
/^[A-Za-z][A-Za-z0-9-]{0,63}$/
kind
required
string
Allowed values: feature utility

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}