All URIs are relative to https://btcpay.example.com/api/v1
| Method | HTTP request | Description |
|---|---|---|
| api_keys_create_api_key | POST /api/v1/api-keys | Create a new API Key |
| api_keys_delete_api_key | DELETE /api/v1/api-keys/{apikey} | Revoke an API Key |
| api_keys_delete_current_api_key | DELETE /api/v1/api-keys/current | Revoke the current API Key |
| api_keys_get_current_api_key | GET /api/v1/api-keys/current | Get the current API Key information |
crate::models::ApiKeyData api_keys_create_api_key(api_keys_create_api_key_request) Create a new API Key
Create a new API Key
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| api_keys_create_api_key_request | Option<ApiKeysCreateApiKeyRequest> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
api_keys_delete_api_key(apikey) Revoke an API Key
Revoke the current API key so that it cannot be used anymore
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| apikey | String | The API Key to revoke | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ApiKeyData api_keys_delete_current_api_key() Revoke the current API Key
Revoke the current API key so that it cannot be used anymore
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ApiKeyData api_keys_get_current_api_key() Get the current API Key information
View information about the current API key
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]