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 strings

IP CIDR allowlist; empty means unrestricted

created_atinteger

Token creation timestamp (nanoseconds since epoch)

expiry_atinteger

Expiration timestamp (nanoseconds since epoch)

kindstring

Token type (jwt, api_key, etc.)

last_updated_atinteger

Last modification timestamp (nanoseconds since epoch)

lookup_idstring
Identifier used for the token lookup
namestring

User-provided token name

revoked_atinteger

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

token_idstring
Unique ID for the auth token

Errors

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