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_id
Token lookup ID
Request
Replacement CIDR list
allowed_cidrs
Full replacement list. Empty = unrestricted.
Response
Updated token details
allowed_cidrs
IP CIDR allowlist; empty means unrestricted
created_at
Token creation timestamp (nanoseconds since epoch)
expiry_at
Expiration timestamp (nanoseconds since epoch)
kind
Token type (jwt, api_key, etc.)
last_updated_at
Last modification timestamp (nanoseconds since epoch)
lookup_id
Identifier used for the token lookup
name
User-provided token name
revoked_at
Revocation timestamp (nanoseconds since epoch, 0 if not revoked)
token_id
Unique ID for the auth token
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error