사용 중인 브랜드 보이스

Moses Skoda엔지니어1분 소요

이 문제가 발생하면 API에서 409 Conflict를 반환합니다. type는 https://lingo.dev/docs/api/errors/brand-voice-in-use입니다. 모든 오류에 공통으로 적용되는 구조는 오류 및 상태 코드를 참고하세요.

브랜드 보이스 <id>는 엔진 2개에서 사용 중이므로 삭제할 수 없습니다. 먼저 해당 엔진에서 브랜드 보이스 연결을 해제하세요.

필드#

응답 본문에는 표준 멤버인 type, status, title, detail 외에 다음 필드가 포함됩니다. detail 텍스트는 이 필드를 바탕으로 생성되므로 클라이언트에서 자체 문구를 대신 표시할 수 있습니다.

필드유형
idstring
engineCountinteger | null

예시#

json
{
  "detail": "Brand voice <id> cannot be deleted while 2 engines apply it. Detach it from those engines first.",
  "id": "<id>",
  "engineCount": 2,
  "type": "https://lingo.dev/docs/api/errors/brand-voice-in-use",
  "status": 409,
  "title": "Brand voice in use"
}

이 오류를 반환하는 엔드포인트#

  • DELETE /v2/brand-voices/{id}