beta.libraries.accesses
Create or update an access level.
Changed onGiven 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.
put/v1/libraries/{library_id}/share
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
library_idstring uuid required
Request body
Response
Successful Response
Changes
- info
request property
deprecated - info
response property
org_iddeprecated - info
response property
user_iddeprecated
- info
- info
endpoint added
- info