POST /assets/{asset_id}/permissions
1 min
POST
https://api.cmp.optimizely.com/v3/assets/{asset_id}/permissions
asset_idstringUnique identifier of the asset
bodyobjectPayload to add list of accessors to asset permissions
204Permission access granted
400Client error
401Authorization error
403Permission error
404Not found error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/assets/{asset_id}/permissions \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"type": "user",
"permissions": [
{
"id": "5d7f910551b00a722e0418830cee6632",
"access_type": "view"
}
]
}'