Create API Key
API Keys
Create API Key
POST
Create API Key
Body
application/json
Name of the API key
Minimum string length:
1Example:
"My API Key"
List of permissions for the API key
Minimum array length:
1Example:
[
"nodes.read.own",
"nodes.update.own",
"jobs.read.own",
"job_runs.read.own",
"job_runs.update.own"
]OPTIONAL: List of allowed IP addresses or CIDR ranges. If no IPs are provided, the API key can be used from any IP address.
Example:
["127.0.0.1", "192.168.1.1/24"]Date and time when the API key should expire. If not provided, the API key will never expire.
Example:
"2023-01-01T00:00:00Z"
Response
API key created successfully
Available options:
api_key OPTIONAL: List of allowed IP addresses or CIDR ranges. If no IPs are provided, the API key can be used from any IP address.
Example:
["127.0.0.1", "192.168.1.1/24"]