Update subkey IP allowlist

Replace 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.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

public_keystringRequired
Subkey public key

Request

Replacement CIDR list
allowed_cidrslist of stringsOptional

Full replacement list. Empty = unrestricted.

Response

Updated subkey details
account_idstring
Account ID that owns this subkey
allowed_cidrslist of strings

IP CIDR allowlist; empty means unrestricted

created_atinteger

Subkey creation timestamp (nanoseconds since epoch)

idinteger
Unique subkey identifier
namestring

User-provided subkey name

public_keystring
Subkey public key
revoked_atinteger

Revocation timestamp (nanoseconds since epoch, 0 if not revoked)

statestring
Subkey state
updated_atinteger

Last modification timestamp (nanoseconds since epoch)

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error