Permissions
Associates a user with a document they have permission on.
Associates a user with a document they have permission on.
put/documents/{document_id}/users/{user_id}
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
document_idstring required
Id of the document
user_idstring required
The id of the user that has the permission.
Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.