Create a new oAuth2 client for a wallet
POST/api/v1/wallets/:walletExternalKey/oauth2-clients
| URL | Description |
|---|---|
| https://wallet.acc.credenco.com | Generated server url |
Creates an oAuth2 client with the given permissions and secret expiry date. The response is the only place the client secret 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
oAuth2 client created successfully
A requested permission cannot be granted to an oAuth2 client.
Unauthorized.
Forbidden.
Wallet not found.
An oAuth2 client with this name already exists.
Unprocessable Request.