Для AI-агентов: markdown этой страницы — /docs/api-op-deleteintegration.md · индекс документации — /llms.txt
deleteIntegration
Обновлено
POST /api/v1/tools/integrations/delete
Disconnect tenant CRM connector
#Авторизация и права
Scopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.
| Поле | Значение |
|---|
| security.0.hubApiKey | [] |
| security.1.hubBearer | [] |
| securitySchemes.hubApiKey.in | "header" |
| securitySchemes.hubApiKey.name | "X-Api-Key" |
| securitySchemes.hubApiKey.type | "apiKey" |
| securitySchemes.hubBearer.scheme | "bearer" |
| securitySchemes.hubBearer.type | "http" |
| x-required-scopes | ["integrations:write"] |
#Параметры запроса
| Поле | Значение |
|---|
| 0.in | "header" |
| 0.name | "Idempotency-Key" |
| 0.required | true |
| 0.schema | 0.schema |
#Тело запроса
#Ответы
#Ошибки
| Поле | Значение |
|---|
| 400.content.application/problem+json.schema | ProblemDetails |
| 400.description | "VALIDATION_ERROR: invalid strict request; IDEMPOTENCY_KEY_REQUIRED: POST body without key" |
| 401.content.application/problem+json.schema | ProblemDetails |
| 401.description | "INVALID_API_KEY: missing, conflicting, invalid, expired or revoked credential; surface JWT unsupported" |
| 403.content.application/problem+json.schema | ProblemDetails |
| 403.description | "INSUFFICIENT_SCOPE, PUBLISHABLE_KEY_NOT_ALLOWED or NO_ACTIVE_BOT" |
| 409.content.application/problem+json.schema | ProblemDetails |
| 409.description | "CONFLICT: idempotent request is processing" |
| 413.content.application/problem+json.schema | ProblemDetails |
| 413.description | "PAYLOAD_TOO_LARGE or ITEM_COUNT_EXCEEDED" |
| 422.content.application/problem+json.schema | ProblemDetails |
| 422.description | "IDEMPOTENCY_KEY_MISMATCH: same key with different request inputs" |
| 429.content.application/problem+json.schema | ProblemDetails |
| 429.description | "RATE_LIMIT_EXCEEDED or RATE_LIMIT_UNAVAILABLE: fail-closed resource limit" |
| 429.headers.Retry-After.description | "Retry delay in seconds when supplied by resource policy" |
| 429.headers.Retry-After.schema | 429.headers.Retry-After.schema |
#Дополнительные условия
| Поле | Значение |
|---|
| description | "Owner-authorized soft deletion by crm_type. Absent/already-deleted connectors return deleted:true. Idempotency-Key required for POST body; actor/tenant/handler replay lasts 86400 seconds and preserves 201. Changed inputs return 422; processing returns 409. Bearer accepts tgf_* credentials, not surface JWT." |
| operationId | "deleteIntegration" |
| summary | "Disconnect tenant CRM connector" |
| tags | ["integrations"] |