v2

latestOpenAPI 3.1.02026-07-262937191.0 MB
beta.libraries.accesses

Delete an access level.

Given a library id, you can delete the access level of an entity. An owner cannot delete their own access. You have to be the owner of the library to delete an access other than yours. Warning: the response will change from 200 (returning the deleted sharing) to 204 No Content in a future version.

delete/v1/libraries/{library_id}/share

Path parameters

library_idstring uuid required

Request body

org_idstring uuid nullable
share_with_uuidstring uuid required

The id of the entity (user, workspace or organization) to share with

share_with_type'User' | 'Workspace' | 'Org' required

The type of entity, used to share a library.

Response

Access deleted (deprecated, will be removed in favor of 204).

library_idstring uuid required
user_idstring uuid nullable
org_idstring uuid required
rolestring required
share_with_typestring required
share_with_uuidstring uuid nullable required