acedatacloud_create_credential
Issue a new API credential or owner grant for an application. Set spend caps, host restrictions, and expiry; confirm to activate.
Instructions
Create an API credential or owner-issued grant. Requires confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Optional host restriction. | |
| name | No | Optional human-readable name. | |
| confirm | No | Must be true to create the credential. | |
| metadata | No | Optional credential metadata. | |
| expired_at | No | Optional ISO-8601 expiry. | |
| for_user_id | No | User ID to authorize; application owners only. | |
| application_id | Yes | Application UUID. | |
| limited_amount | No | Optional spend cap in Credits. | |
| allowed_api_ids | No | Optional API UUID allowlist; empty means unrestricted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |