POST /v1/api-keys
Changed onCreate a new normal API key for the account that owns the supplied management API key. The Authorization header must contain a management key (Bearer). Management keys cannot be used to call any other endpoint.
Request
- Base URLhttps://api.imagerouter.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"spend_limit": 5,
"spend_limit_period": "month",
"expires_at": "2027-01-01T00:00:00Z"
}Response
Created
Changes
- info
endpoint added
- info