Update AI Check
Replaces the name and quality requirements of an existing AI Check, and optionally updates its locale restrictions. Returns 404 if the UID does not exist.
When locales is absent from the request, existing locale restrictions are preserved. When locales is an empty array, any previously stored locale restrictions are cleared and the check applies to all locales.
Requires ADMIN or OWNER IDM role.
Authorizations
Use a Bearer token obtained from Phrase Platform authentication. See the Authentication guide for details on how to obtain a token.
Headers
"application/json"
Path Parameters
Unique identifier of the AI Check.
"6804a3f2e1b2c3d4e5f60789"
Body
Display name for the AI Check.
"No Yoda Speech"
Natural language description of the quality requirements to check.
2000"The translation must not use Yoda-style inverted sentence structure."
Locale codes this AI Check applies to. When absent, existing locale restrictions are preserved. When an empty array, locale restrictions are cleared and the check applies to all locales.
Locale code compatible with Phrase locale format. Case-insensitive, supports both underscore and hyphen separators (e.g., en_us, en-US, de_de, fr_fr).
Response
AI Check updated successfully.
"6804a3f2e1b2c3d4e5f60789"
"No Yoda Speech"
2000"The translation must not use Yoda-style inverted sentence structure."
Locale codes this AI Check applies to. Absent or empty means the check applies to all locales.
Locale code compatible with Phrase locale format. Case-insensitive, supports both underscore and hyphen separators (e.g., en_us, en-US, de_de, fr_fr).