Update token IP allowlist

Replace the IP CIDR allowlist for an auth token. Empty array clears the allowlist (unrestricted). Only callable from the main account session; subkey sessions cannot modify token allowlists.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

lookup_idstringRequired
Token lookup ID

Request

Replacement CIDR list
allowed_cidrslist of stringsOptional

Full replacement list. Empty = unrestricted.

Response

Updated token details
allowed_cidrslist of stringsOptional

IP CIDR allowlist; empty means unrestricted

created_atintegerOptional

Token creation timestamp (nanoseconds since epoch)

expiry_atintegerOptional

Expiration timestamp (nanoseconds since epoch)

kindstringOptional

Token type (jwt, api_key, etc.)

last_updated_atintegerOptional

Last modification timestamp (nanoseconds since epoch)

lookup_idstringOptional
Identifier used for the token lookup
namestringOptional

User-provided token name

revoked_atintegerOptional

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

token_idstringOptional
Unique ID for the auth token

Errors

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