Creates an API key. Optional IP restrictions can be configured to limit access.
Bearer token using appid (Authorization: Bearer
API key label.
"My API key"
Indicates whether the API key should be activated upon creation.
true
Indicates whether to restrict API key access by IP address. When enabled, only requests from IP addresses listed in permitted_ips are allowed.
true
List of permitted IP addresses for this API key. Each must be a valid IPv4 address. Required when is_restriction is true.
["192.168.1.1", "10.0.0.1"]
API key created.
API key details including IP restrictions.
API key ID.
123
API key label.
"Production API Key"
API key value.
"abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"
Indicates whether the API key is active.
true
Indicates whether IP restrictions are enabled. When enabled,
the API key works only from IP addresses in permitted_ips.
true
List of permitted IP addresses. If is_restriction is false,
an empty list means no IP restrictions. If is_restriction is true,
an empty list prevents all requests.
["192.168.1.1", "10.0.0.1"]
Creation date and time in ISO 8601 format.
"2024-01-15T10:30:00Z"