If we use POST /manage/v1/user/batch only to import users into pre-existing branches (without creating new branches in the same call), is it safe to run concurrent requests?
{
username: xxxx
branch_name: xxxx
branch_code: xxxx
options:
{
force_create_branches: false
}
}
Here is the API Document information:
Batch endpoints
Regarding the rules described previously for HTTP request verbs, some exceptions apply to certain endpoints used for bulk creation or updating of resources. In these cases, HTTP POST calls may also be used to update existing resources and create new ones in the same API call. The aim of this is to minimize the number of API calls done by the client and to exploit the chunking mechanism of the operations inherent in this type of call as much as possible. These endpoints are normally identified by the suffix /batch:POST https://yourdomain.docebosaas.com/manage/v1/user/batch
Please note:
You cannot send concurrent calls for batch APIs.
API call limitations
To maintain optimum performance and to ensure APIs are available to all customers, Docebo applies rate limits to API activity. These limits may vary depending on your platform configuration. For more information on system limits, please visit our Trust center page (opens in a new tab).Warning
Branch API calls should never be run concurrently as unpredictable results may occur and the structure of the branches may risk being corrupted. The affected API calls are:
POST /manage/v1/user/batch
(only if the call also creates the branches while importing the users)
How to define the ‘(only if the call also creates the branches while importing the users)’ ?
