Platform
Create API Key
Required role: write or higher.
Create a new API key with the specified name. The generated API key will be returned in the response and cannot be retrieved again later.
post/v0/api_keys
Request
- The document declares no server URL.
- Auth: HTTP bearer
Request body
Example request
{
"name": "my-api-key"
}Response
API key created successfully
Example response
{
"api_key": "apikey:v5y5QNtlPNVMwkmNjKwFU8bbIu5lMge3yHbyddxAOdXlEo84SEoNn32DUhQaf1KLeI9aOOfnJjhQ1pYzMrU4wQXON6pm6BS7Zgzj46U2b8pwz1280vYBEtx41hiDBRP",
"name": "my-api-key"
}Changes
No recorded changes to this operation across all 51 revisions of this API.