# \BetaLibrariesAccessesApi
All URIs are relative to *https://api.mistral.ai*
[**libraries_share_create_v1**](BetaLibrariesAccessesApi.md#libraries_share_create_v1) | **PUT** /v1/libraries/{library_id}/share | Create or update an access level.
[**libraries_share_delete_v1**](BetaLibrariesAccessesApi.md#libraries_share_delete_v1) | **DELETE** /v1/libraries/{library_id}/share | Delete an access level.
[**libraries_share_list_v1**](BetaLibrariesAccessesApi.md#libraries_share_list_v1) | **GET** /v1/libraries/{library_id}/share | List all of the access to this library.
## libraries_share_create_v1
> models::SharingOut libraries_share_create_v1(library_id, sharing_in)
Create or update an access level.
Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
### Parameters
**library_id** | **uuid::Uuid** | | [required] |
**sharing_in** | [**SharingIn**](SharingIn.md) | | [required] |
### Return type
[**models::SharingOut**](SharingOut.md)
### Authorization
[ApiKey](../README.md#ApiKey)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## libraries_share_delete_v1
> models::SharingOut libraries_share_delete_v1(library_id, sharing_delete)
Delete an access level.
Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
### Parameters
**library_id** | **uuid::Uuid** | | [required] |
**sharing_delete** | [**SharingDelete**](SharingDelete.md) | | [required] |
### Return type
[**models::SharingOut**](SharingOut.md)
### Authorization
[ApiKey](../README.md#ApiKey)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## libraries_share_list_v1
> models::ListSharingOut libraries_share_list_v1(library_id)
List all of the access to this library.
Given a library, list all of the Entity that have access and to what level.
### Parameters
**library_id** | **uuid::Uuid** | | [required] |
### Return type
[**models::ListSharingOut**](ListSharingOut.md)
### Authorization
[ApiKey](../README.md#ApiKey)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)