put
https://api.connex.trade/api/v1/apiKey/portfolio
Update the API Key of a Trading Portfolio by a primary user.
Permission
- Applies to primary user's API Key only.
- Permission: TRADE.
Rate Limit
- 3 requests per 10 seconds
Request
| Field name | Type | Necessary | Remarks |
|---|---|---|---|
| portfolioId | Long | Y | Trading Portfolio ID |
| portfolioApiKey | String | Y | API public key |
| apiName | String | N | API note |
| ip | String | N | up to 20 IP addresses, separated by comma. |
| permission | String | N | READ, TRANSFER, WITHDRAW, TRADE |
Response
| Field name | Type | Remarks |
|---|---|---|
| portfolioId | Long | portfolioId |
| apiName | String | API Key note |
| accessKey | String | accessKey |
| status | Integer | status: 1 normal, 2 frozen |
| ip | String | ip list |
| permission | String | READ,TRANSFER,WITHDRAW,TRADE |
| createdAt | Long | create timestamp |
| updatedAt | Long | updatedAt timestamp |
