Skip to main content
PUT
Share a library asset

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Learn how to obtain an API key

Path Parameters

id
string
required

The library asset's id.

Body

application/json
type
enum<string>
required

The asset's type, as GET /v2/library lists it.

Available options:
character,
style,
product,
locations,
color,
element,
palette
access
object[]
required

Replaces the whole share list; empty shares it with no one.

only_if_unshared
boolean | null

Shares only when the asset is shared with no one yet; otherwise leaves its list as it is.

Response

data
object
required