ramzinex_edit_private_access
Edit a specific API key's permissions to control withdrawals, trading, cancellations, exports, and IP allowlist settings for Ramzinex exchange.
Instructions
Update per-key API access permissions — WARNING: account control.
Persian purpose: ویرایش دسترسی اختصاصی یک کلید API. Requires configured
credentials AND account_control=true (and read_only=false) on the
instance; otherwise it returns
{"error": "account_control_disabled", ...} without contacting the API.
Maps to POST /exchange/api/{ver}/exchange/auth/api_key/editPrivateAccess with body
{api_key_id, withdraw, trade, cancel, excel, ipFree, ips}. This changes
what one specific API key may do.
Args: api_key_id: Numeric id of the API key to edit. withdraw: 0 or 1 — allow withdrawals with this key. trade: 0 or 1 — allow placing orders with this key. cancel: 0 or 1 — allow cancelling orders with this key. excel: 0 or 1 — allow Excel/report export with this key. ip_free: 0 or 1 — when 1, the key works from any IP (no IP allowlist). ips: Optional list of allowed IPs (used when ip_free is 0). instance: Configured instance to use (default when omitted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key_id | Yes | ||
| withdraw | Yes | ||
| trade | Yes | ||
| cancel | Yes | ||
| excel | Yes | ||
| ip_free | Yes | ||
| ips | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||