Update workspace access for an asset

Beta

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_idstringRequired

Request

This endpoint expects an object.
workspace_accessenumRequired
Permission level to grant to the entire workspace. Set to 'view' or 'edit'.

Response

Workspace access updated successfully
asset_idstring
ID of the asset
workspace_accessstring

Workspace access level that was set (‘view’ or ‘edit’)

Errors

403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error