Update subkey IP allowlist
Changed onReplace the IP CIDR allowlist for a subkey. Empty array clears the allowlist (unrestricted). Only callable with the main account; subkeys cannot widen their own allowlist.
Request
- Base URLhttps://api.prod.paradex.trade/v1
- URLhttps://api.prod.paradex.trade/v1/account/keys/subkeys/{public_key}/allowed-cidrs
- AuthAPI key in header Authorization
Path parameters
Subkey public key
Request body
Example request
{
"allowed_cidrs": [
"[\"203.0.113.0/24\"",
"\"198.51.100.42/32\"]"
]
}Response
Updated subkey details
Example response
{
"account_id": "0x1234567890abcdef",
"allowed_cidrs": [
"[\"203.0.113.0/24\"]"
],
"created_at": 1640995200,
"id": 1,
"name": "My Subkey",
"public_key": "0xabcdef1234567890abcdef",
"updated_at": 1640995200
}Changes
- warning
added the new
ADDRESS_BOOK_NOT_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_NOT_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_NOT_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_NOT_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status
- warning
- warning
added the new
SESSION_EXPIREDenum value to the////response property for the response status - warning
added the new
SESSION_EXPIREDenum value to the////response property for the response status - warning
added the new
SESSION_EXPIREDenum value to the////response property for the response status - warning
added the new
SESSION_EXPIREDenum value to the////response property for the response status - warning
added the new
SESSION_REVOKEDenum value to the////response property for the response status - warning
added the new
SESSION_REVOKEDenum value to the////response property for the response status - warning
added the new
SESSION_REVOKEDenum value to the////response property for the response status - warning
added the new
SESSION_REVOKEDenum value to the////response property for the response status
- warning