Documentation Index
Fetch the complete documentation index at: https://docs.blobhub.io/llms.txt
Use this file to discover all available pages before exploring further.
Create a new API key for a target. The key secret is returned only once.
POST /:target/:target_id/api_keys
Path Parameters
| Parameter | Type | Required | Description |
|---|
target | string | Yes | Resource type: orgs or blobs. |
target_id | string | Yes | The unique ID of the target resource. |
Request Body
| Parameter | Type | Required | Description |
|---|
role | string | Yes | read or write. |
description | string | No | Description of the key’s purpose. |
Response
| Parameter | Type | Description |
|---|
api_key | object | The created API key object including the secret. |
Example
{
"role": "read",
"description": "CI/CD Integration"
}