Star or unstar a website
Stars or unstars a website for the member who owns the token. Stars are personal, not shared with the rest of the organization; list starred websites first with sort=-is_favorite on “List websites”. Returns the website with its is_favorite flag.
Your role must be allowed to star websites; without it the request answers 404.
Body
favorite(boolean, required):truestars the website,falseunstars it. It sets the state and never toggles it, so repeating the call is safe.
Authentication
AuthorizationBearer
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
site
Request
This endpoint expects an object.
favorite
Response
200 - Favorite updated
data
jsonapi
