API RestDocuments
Dernière mise à jour le 20 juillet 2026
Authorization
JwtAuth AuthorizationBearer <token>
In: header
Path Parameters
folder_id*Folder Id
Format
uuiduser_id*User Id
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Payload for PUT .../permissions/{user_id} — creates or updates one user's exception.
The target user comes from the path, not the body — unlike datasets' equivalent schema, there's no bare PUT .../permissions route here for a body-only user_id to serve.
Response Body
application/json
curl -X PUT "https://example.com/documents/folders/497f6eca-6276-4993-bfeb-53cbbbba6f08/permissions/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "access_level": "string" }'{ "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "item_type": "string", "default_access_level": "string", "inherited_default_access_level": "string", "inherited_default_from": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "my_access_level": "string", "entries": [ { "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "user_email": "string", "user_name": "string", "is_creator": true, "access_level": "string", "source": "string", "inherited_from": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } } ]}Continuer plus loin