PUT
/v2/projects/{projectId}/machine-translation-service-settings/set-default-prompt/{promptId}Set the default machine translation prompt
Sets the default machine translation prompt for all languages in a project. Supply projectId and promptId to identify the project and prompt to apply.
promptIdintegerrequired
The integer identifier of the prompt to set as the default for all project languages.
projectIdintegerrequired
The integer identifier of the project whose default machine translation prompt to set.
200Confirms that the default machine translation prompt was set for all languages.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to change the default prompt.
codestringrequired
paramsarray<object>optional
404Returned when the project or prompt is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned for an invalid request; a 401 is returned when authentication is missing or invalid; a 403 is returned when the authenticated user lacks permission; and a 404 is returned when the project or prompt is not found. The promptId path parameter must identify the prompt to set, and the projectId path parameter must identify the project.