# Update API Key **PATCH /admin/api-keys/{id}** Update API key settings (name, limits, active status) ## Servers - http://localhost:7001: http://localhost:7001 () ## Authentication methods - Admin auth ## Parameters ### Path parameters - **id** (integer) ### Body: application/json (object) - **customer_name** (string) - **customer_email** (string) - **max_devices** (integer) - **rate_limit_per_hour** (integer) - **is_active** (boolean) Set to false to disable all requests with this key ## Responses ### 200 API key updated successfully #### Body: application/json (object) - **status** (boolean) - **code** (integer) - **message** (string) - **data** (object) ### 401 Unauthorized - Invalid admin secret #### Body: application/json (object) - **status** (boolean) - **code** (integer) - **message** (string) - **error** (string) ### 404 API key not found #### Body: application/json (object) - **status** (boolean) - **code** (integer) - **message** (string) - **error** (string) ### 500 Internal server error #### Body: application/json (object) - **status** (boolean) - **code** (integer) - **message** (string) - **error** (string) [Powered by Bump.sh](https://bump.sh)