Update workspace access for an asset
Update the workspace-level access on an asset. Only users who have edit access to the asset and permission to share with the workspace can use this endpoint. Set ‘view’ or ‘edit’ to grant workspace-wide access.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
asset_id
Request
This endpoint expects an object.
workspace_access
Permission level to grant to the entire workspace. Set to 'view' or 'edit'.
Response
Workspace access updated successfully
asset_id
ID of the asset
workspace_access
Workspace access level that was set (‘view’ or ‘edit’)
Errors
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
