Update an API key (name, expiry, and/or source allowlist)

Role and partner are immutable once issued. Pass expiresAt: null to clear the expiry. Passing allowedSourceCidrs replaces the full source IP/CIDR allowlist.

Access: Auth methods: JWT bearer. Allowed user types: PARTNER, MVNO. Requires permissions: api-key:admin.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

API key UUID

Body Params
string

Human-readable label

expiresAt
object | null

New expiry (ISO 8601). Pass null to clear.

allowedSourceCidrs
array of strings

Replacement allowed source IP addresses or CIDR ranges. Exact IPs are normalized to /32 or /128.

allowedSourceCidrs
Responses
200

Updated API key.

403

Cannot update a revoked key, or an API-key caller cannot modify itself.

404

Key not found or not visible to caller

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!