Skip to content

Pin/unpin

PUT
/api/collections/toggle/{id}

Pin a collection if it is unpinned, or unpin it otherwise. Admin role is required.

Authorizations

bearerAuth

Bearer token using a JWT

Type
HTTP (Bearer)

Parameters

Path Parameters

id*

Identifier of the collection to pin/unpin.

Type
integer
Required
Example1

Responses

True if collection has been unpinned, false otherwise.

application/json
JSON
true

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI