Set project assets shared
Share or unshare all assets for a specific project or a list of specific assets.
POST
/actions/projects/{project_id}/assets/share
curl \
--request POST 'http://api.example.com/actions/projects/a24a6ea4-ce75-4665-a070-57453082c25/assets/share' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"is_shared":true,"asset_ids":["a24a6ea4-ce75-4665-a070-57453082c25","b35b7fb5-df86-5776-b181-68564193d36"]}'
Request examples
{
"is_shared": true,
"asset_ids": [
"a24a6ea4-ce75-4665-a070-57453082c25",
"b35b7fb5-df86-5776-b181-68564193d36"
]
}
Response examples (200)
{
"updated_count": 5,
"project_id": "b35b7fb5-df86-5776-b181-68564193d36"
}