POST Update Profile endpoint.
Endpoint
POST
/web/v1/partner/profile/update WEBAuthentication
- Chain: WEB
- JWT Token: true
- API Key: false
- Permissions: []
- Secure Channel: DISABLED
Rate Limit
120 requests per 60 seconds.
Headers
Frontend Headers
| Header | Required | Description |
|---|---|---|
| X-LOCALE | Yes | 用户的 locale |
| Accept-Language | No | 语言偏好 |
Cloudflare Headers
| Header | Required | Description |
|---|---|---|
| CF-Connecting-IP | Yes | Client IP from Cloudflare |
| CF-IPCountry | Yes | Client country code |
| CF-Ray | Yes | Cloudflare Ray ID |
| CF-Visitor | Yes | Visitor scheme |
| X-Real-IP | Yes | Real client IP |
Nginx Headers
| Header | Required | Description |
|---|---|---|
| X-PORTAL-ACCESS-CODE | Yes | Portal access code |
| X-Real-IP | Yes | 客户端真实 IP |
| X-Forwarded-For | Yes | 代理链 |
| X-Forwarded-Proto | Yes | 协议 |
Request Parameters
Body (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
| accountName | String | No | 账户名称 (max 126) |
| accountPhone | String | No | 账户电话 (max 25) |
| defaultLanguage | String | No | 默认语言 (max 10) |
| defaultTimezone | String | No | 默认时区 (max 50) |
| defaultCountry | String | No | 默认国家 (max 10) |
Response
200 OK
| Field | Type | Description |
|---|---|---|
| bizId | String | 业务 ID |
| institutionBizId | String | 门户业务 ID |
| accountEmail | String | 账户邮箱 |
| accountPhone | String | 账户手机号 |
| accountName | String | 账户名称 |
| accountRemark | String | 账户备注 |
| accountPortal | UserPortalType | 账户门户类型 |
| accountStatus | UserAccountStatus | 账户状态 |
| createdAt | Instant | 创建时间 |
| updatedAt | Instant | 更新时间 |
| defaultLanguage | String | 默认语言 |
| defaultTimezone | String | 默认时区 |
| defaultCountry | String | 默认国家 |