# Delete the tripartite agreement

Delete the three-party agreement in the delivery through the interface
**Notice**：Delivery requires a tripartite agreement has been created
Only available to tenants who enable "Maintenance of Tripartite Agreement via API"

## Request

Facts | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/hire/v1/tripartite_agreements/:tripartite_agreement_id
HTTP Method | DELETE
Rate Limit | [10 per second](https://open.feishu.cn/document/ukTMukTMukTM/uUzN04SN3QjL1cDN)
Supported app types | Custom App、Store App
Required scopes<br>**To use this API, you must have at least 1 of the listed scopes.** | Update third-party agreement(hire:tripartite_agreement)

### Request header

Parameter | Type | Required | Description
---|---|---|---
Authorization | string | Yes | `tenant_access_token`<br>**Value format**: "Bearer `access_token`"<br>**Example value**: "Bearer t-7f1bcd13fc57d46bac21793a18e560"<br>[How to choose and get access token](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-choose-which-type-of-token-to-use)

### Path parameters

Parameter | Type | Description
---|---|---
tripartite_agreement_id | string | Tripartite Agreement ID<br>**Example value**: "6942778198054125570"

## Response

### Response body

Parameter | Type | Description
---|---|---
code | int | Error codes, fail if not zero
msg | string | Error descriptions
data | \- | \-

### Response body example
```json
{
    "code": 0,
    "msg": "success",
    "data": {}
}
```

### Error code

HTTP status code | Error code | Description | Troubleshooting suggestions
---|---|---|---
500 | 1002001 | system error | Please locate according to the actual error message.
400 | 1002002 | Parameter error | Please check the parameters or locate according to the actual error information
400 | 1002075 | There is no tripartite agreement | \-
400 | 1002076 | In the three-party protocol settings, the switch to synchronize the three-party protocol through API is not turned on. | Contact the recruitment administrator to check the opening status of the settings.

