Skip to main content
POST
/
assets
/
unfavorite
Unfavorite asset
curl --request POST \
  --url https://api.fal.ai/v1/assets/unfavorite \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "vector_id": "b1a2b4a5-cb89-51dc-a108-6dbfd8e742fc"
}
'
{
  "is_favorited": false
}

Documentation Index

Fetch the complete documentation index at: https://fal.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_API_KEY

Headers

Idempotency-Key
string

Optional idempotency key for safe request retries

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
request_id
string

Request ID to save as an asset before mutating

Minimum string length: 1
vector_id
string

Vector ID to save as an asset before mutating

Minimum string length: 1

Response

Asset unfavorited

is_favorited
boolean
required

Whether the asset is now favorited