Endpoint
| field | value |
|---|
| method | DELETE |
| path | /api/integrations/v1/leads/{lead_id} |
| operationId | archive_integration_lead_api_integrations_v1_leads__lead_id__delete |
| auth | server to server integration client token |
| Idempotency-Key | required |
| lifecycle | stable |
| resource type | lead |
| data classification | confidential |
| scope risk | high |
| write operation | yes |
Summary
Archive Integration Lead
Required scope
| scope | requirement |
|---|
| leads:write | required |
Operation contract
| field | value |
|---|
| bulk mode | - |
| bulk max items | - |
| bulk dry run | - |
| sync type | - |
| sync max limit | - |
| reconciliation | - |
Path parameters
| name | required | schema |
|---|
| lead_id | required | string |
Query parameters
Header parameters
| name | required | schema |
|---|
| Idempotency-Key | required | string |
Request body
| status | media type | schema |
|---|
| - | - | - |
| - | - | - |
Response
| status | media type | schema |
|---|
| 200 | application/json | LeadOut |
Example
curl -X DELETE "https://api.marketing.anshin.care/api/integrations/v1/leads/{lead_id}" \
-H "Authorization: Bearer $ANSHIN_MARKETING_INTEGRATION_ACCESS_TOKEN" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
業務境界
- domain: リード
- endpoint は各 backend の S2S scoped OpenAPI artifact から同期しています。
- company 境界は backend で検証します。
- write 系 endpoint は、画面用 API と endpoint を分け、処理本体は service 層で共通化します。