POST
/v2/organizations/{organizationId}/glossaries/{glossaryId}/importImport glossary terms from CSV
Imports glossary terms from a CSV file into an organization's glossary. Send the file in the multipart file field; set removeExistingTerms to true if the import should remove existing terms.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
organizationIdintegerrequired
The integer identifier of the organization that owns the glossary.
glossaryIdintegerrequired
The integer identifier of the glossary to import terms into.
removeExistingTermsbooleanoptional
Whether to remove existing glossary terms during the import. Defaults to false when omitted.
Multipart form data containing the CSV file to import.
filestringrequired
The CSV file containing the glossary terms to import.
200Returns the number of terms imported.
importedintegerrequired
Number of imported terms
400Returned when the request or CSV file is invalid, or the required `file` field is missing.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have access to the requested resource.
codestringrequired
paramsarray<object>optional
404Returned when the organization or glossary is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates an invalid request; a 401 indicates missing or invalid authentication; a 403 indicates the authenticated user lacks access; and a 404 indicates the organization or glossary was not found. The organizationId and glossaryId path parameters must be integers. The file field is required and must contain the CSV file.