# 联盟与广告主密码重置

### 通用参数

| **查询**     | **类型** | **描述**    |
| ---------- | ------ | --------- |
| mid        | 整数     | 网络账户 ID   |
| api-key    | 字符串    | 网络 API 密钥 |
| secret-key | 字符串    | 网络密钥      |

***

## **联盟账户密码重置**

```
POST https://api.offer18.com/api/m/affiliate_password_reset
```

:link: [<mark style="color:蓝色;">**点击测试联盟密码重置 API**</mark>](https://offer18.readme.io/reference/password-reset)

#### 筛选

| **主体**          | **类型** |
| --------------- | ------ |
| affiliate-email | 字符串    |

#### **API 响应**

```
{
    "status": "200",
    "response": "affiliate_pass_reset:completed",
    "password": "00000000",
    "affiliate_id": "000000"
}
```

***

## **广告主密码重置**

```
POST https://api.offer18.com/api/m/advertiser_password_reset
```

:link: [<mark style="color:蓝色;">**点击测试广告主密码重置 API**</mark>](https://offer18.readme.io/reference/advertiser-password-reset)

#### 筛选

| **主体**           | **类型** |
| ---------------- | ------ |
| advertiser-email | 字符串    |

#### **API 响应**

```
{
    "status": "200",
    "response": "advertiser_pass_reset:completed",
    "password": "00000000",
    "advertiser_id": "000000"
}
```

{% hint style="info" %}
**为保证交互安全，请始终从服务器端调用 API。**
{% endhint %}
