PUT/v2/organizations/{organizationId}/glossaries/{glossaryId}

Update an organization glossary

Replaces an organization's glossary name and base language, and can change its project assignments. Supply baseLanguageTag and name; omit assignedProjectIds to leave the current assignments unchanged.

2 parameters · 3 body fields
organizationIdintegerrequired
The integer identifier of the organization that owns the glossary.
glossaryIdintegerrequired
The integer identifier of the glossary to update.

Glossary fields to replace or update. Project assignments remain unchanged when assignedProjectIds is null.

assignedProjectIdsarray<integer>optional
Projects assigned to glossary; when null, assigned projects will be kept unchanged.
baseLanguageTagstringrequired
Language tag according to BCP 47 definition
namestringrequired
Glossary name

5 status codes
200Returns the updated glossary, including its identifier, name, base language tag, and organization owner.
baseLanguageTagstringrequired
Language tag for default translations for terms
idintegerrequired
namestringrequired
organizationOwnerobjectrequired
400Returned when a required field is missing or a supplied value fails validation.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when the authenticated user does not have access to the requested resource.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the organization or glossary is not found.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
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. baseLanguageTag and name are required; the language tag must be 1 to 20 characters and cannot contain a comma. The organizationId and glossaryId path parameters must be integers.