v1
latestOpenAPI 3.1.02026-07-24700259.3 KBAPI KEYS
Patch an API key
Patch an existing API key ignoring missing properties
patch/api_keys/edit
Request body
Example request
{
"id": "api-00000000000000000000000000000000",
"description": "test api key",
"custom_ratelimit_period": "0:30:00",
"ip_pool": 1234,
"feedback_html": "test_html",
"feedback_text": "test_text"
}Response
Successfully patched API key
Example response
{
"data": [
{
"request_id": "aa253464-0bd0-467a-b24b-6159dcd7be60",
"data": {
"api_key": "api-000000000000********************",
"username": "api-000000000000",
"custom_rate_limit": true,
"custom_ratelimit_value": 123,
"custom_ratelimit_period": "0:30:00",
"default_ratelimit_period": "unlimited",
"ippool": 1234
}
}
],
"request_id": "4b661d88-6b2d-11eb-8bb3-f23c92bb31d2"
}