Share or unshare a list of assets.

POST /actions/assets/share
application/json

Body

  • asset_ids array[string(uuid)]
  • is_shared boolean

    Default value is true.

Responses

  • 201

    All assets modified.

POST /actions/assets/share
curl \
 --request POST 'http://api.example.com/actions/assets/share' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"asset_ids":["a24a6ea4-ce75-4665-a070-57453082c25"],"is_shared":true}'
Request examples
{
  "asset_ids": [
    "a24a6ea4-ce75-4665-a070-57453082c25"
  ],
  "is_shared": true
}