Для AI-агентов: markdown этой страницы — /docs/api-op-deleteorderstatus.md · индекс документации — /llms.txt
deleteOrderStatus
Обновлено
POST /api/v1/tools/statuses/delete
Soft-delete an order status by tenant sequence
#Авторизация и права
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 | ["statuses:write"] |
#Параметры запроса
| Поле | Значение |
|---|
| 0.in | "header" |
| 0.name | "Idempotency-Key" |
| 0.required | true |
| 0.schema | 0.schema |
#Тело запроса
#Ответы
#Ошибки
| Поле | Значение |
|---|
| 400.content.application/problem+json.schema | ProblemDetails |
| 400.description | "Invalid strict request body, or missing Idempotency-Key on POST with a body" |
| 401.content.application/problem+json.schema | ProblemDetails |
| 401.description | "Missing, invalid or mismatched API-key transports; surface-session JWT is not an alternative" |
| 403.content.application/problem+json.schema | ProblemDetails |
| 403.description | "Required statuses scope, live credential access or resource policy refused" |
| 409.content.application/problem+json.schema | ProblemDetails |
| 409.description | "An idempotent command is processing, or a protected status conflicts with this operation" |
| 413.content.application/problem+json.schema | ProblemDetails |
| 413.description | "Per-tool payload or item-count cap exceeded" |
| 422.content.application/problem+json.schema | ProblemDetails |
| 422.description | "Idempotency-Key was reused with a different request body" |
| 429.content.application/problem+json.schema | ProblemDetails |
| 429.description | "Rate limit exceeded or unavailable; fail closed" |
| 429.headers.Retry-After.description | "Seconds before retry when supplied by the limiter" |
| 429.headers.Retry-After.schema | 429.headers.Retry-After.schema |
#Дополнительные условия
| Поле | Значение |
|---|
| operationId | "deleteOrderStatus" |
| summary | "Soft-delete an order status by tenant sequence" |
| tags | ["statuses"] |