Create a new API key for a wallet
POST/api/v1/wallets/:walletExternalKey/api-keys
| URL | Description |
|---|---|
| https://wallet.acc.credenco.com | Generated server url |
Creates an API key with the given permissions and expiry date. The response is the only place the key value appears. Store it before discarding the response.
Required Role
| Role | Description |
|---|---|
WALLET_IAM_API_ACCESS_CRUD | Create, read, update and delete API access configurations |
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 412
- 422
API key created successfully
A requested permission cannot be granted to an API key.
Unauthorized.
Forbidden.
Wallet not found.
An API key with this name already exists in the wallet.
Unprocessable Request.