For the complete documentation index, see llms-docs.txt or the site index llms.txt. Full docs corpus: llms-full-docs.txt. Prefer the markdown version of this page at /docs/api/api-key/post-api-api-key-v1enable-by-api_key_id.md. Product capabilities: skill.md. Docs MCP: /docs/mcp. Site MCP: /mcp.

Enable API key

POST
/api/api-key/v1/enable/:api_key_id
1import { Reloop } from "reloop-email";
2
3const reloop = new Reloop({ apiKey: "rl_123456789" });
4
5const { apiKey, apiKeyError } = await reloop.apiKey.enable("key_123456789");
6
7if (apiKeyError) throw apiKeyError;
8
9console.log(apiKey.id, apiKey.enabled);
1{
2 "id": "key_123456789",
3 "name": "Production API Key",
4 "start": "rl_live",
5 "prefix": "rl",
6 "enabled": true,
7 "requestCount": 150,
8 "createdAt": "2026-03-29T10:00:00Z",
9 "updatedAt": "2026-03-29T10:00:00Z",
10 "permissions": "read,write",
11 "createdBy": {
12 "id": "user_123",
13 "name": "John Doe",
14 "email": "john@example.com"
15 }
16}

Path Parameters

api_key_idstringRequired

API Key identifier

Was this page helpful?