POST Update Self Institution endpoint.
Endpoint
POST
/web/v1/system/institutions/self/update WEBAuthentication
- Chain: WEB
- JWT Token: true
- API Key: false
- Permissions: ["workspace:institution:write"]
Rate Limit
Standard rate limit applies.
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 |
| CF-Worker | No | Cloudflare Worker indicator |
| CF-TCP-Port | No | Client TCP port |
| CF-Edge-Keep-Alive | No | Edge keep-alive status |
| CF-Cache-Status | No | Cache status |
| CDN-Loop | No | CDN loop detection |
| 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 |
|---|---|---|---|
| institutionBizId | String | Yes | 机构业务 ID |
| institutionName | String | No | 机构名称 |
| institutionDescription | String | No | 机构描述 |
| institutionRemark | String | No | 机构备注 |
| extraConfig | UserInstitutionExtraConfig | No | 扩展配置 |
Response
200 OK
| Field | Type | Description |
|---|---|---|
| data.bizId | String | 业务 ID |
| data.institutionName | String | 机构名称 |
| data.institutionDescription | String | 机构描述 |
| data.institutionRemark | String | 机构备注 |
| data.institutionType | UserInstitutionType | 机构类型 |
| data.institutionStatus | UserInstitutionStatus | 机构状态 |
| data.extraConfig | UserInstitutionExtraConfig | 扩展配置 |
| data.createdAt | Instant | 创建时间 |
| data.updatedAt | Instant | 更新时间 |