Skip to content
TALA
Esc
navigateopen⌘Jpreview

Favorite or unfavorite an asset

PATCH/api/assets/{id}/favorite
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Header parameters
x-organization-idstring
Target organization id. Defaults to the caller's personal organization when omitted.
Request body
requiredapplication/json
object
Responses
200
403You do not belong to an active organization
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH "http://localhost:8000/api/assets/string/favorite" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Response
No example response.