Update account document access
Update which documents are shared with a specific account. Supports bulk addition and removal of document access.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Account ID
Format
uuidRequest Body
application/json
ids*array<>
Array of document IDs to share with the account
Items
1 <= itemsResponse Body
application/json
application/json
curl -X PATCH "https://app.orbiqhq.com/api/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents" \ -H "Content-Type: application/json" \ -d '{ "ids": [ "550e8400-e29b-41d4-a716-446655440001", "550e8400-e29b-41d4-a716-446655440002", "550e8400-e29b-41d4-a716-446655440003" ] }'{
"success": true,
"data": {
"shared_count": 5,
"message": "Document access updated successfully"
}
}{
"error": "No document IDs provided or invalid format"
}Empty
Empty
Empty
Empty
How is this guide?