Elly API
  1. API Keys
Elly API
  • API Keys
    • Get current API key details
      GET
    • Get current API key usage statistics
      GET
    • List all API keys
      GET
    • Create a new API key
      POST
    • Revoke an API key
      DELETE
  • Transactions
    • List transactions
      GET
    • Create transaction
      POST
    • Get transaction details
      GET
    • Update transaction
      PATCH
    • Delete transaction
      DELETE
    • Bulk update transactions
      POST
  • Bank Accounts
    • List bank accounts
      GET
    • Create bank account
      POST
    • Get bank account details
      GET
    • Update bank account
      PATCH
    • Delete bank account
      DELETE
    • Get bank account transactions
      GET
  • Statements
    • List bank statements
      GET
    • Upload bank statement file
      POST
    • Get statement details
      GET
    • Get statement transactions
      GET
  • Categories
    • List categories
      GET
  • Reports
    • Cash flow report
      GET
    • Financial summary report
      GET
  • Companies
    • Get company details
  • Schemas
    • TransactionStatus
    • AccountingCategory
    • CashFlowCategory
    • AccountType
    • AccountStatus
    • StatementStatus
    • ApiScope
    • ApiKey
    • Transaction
    • TransactionListResponse
    • TransactionResponse
    • TransactionDetailResponse
    • CreateTransactionRequest
    • UpdateTransactionRequest
    • BulkUpdateRequest
    • BankAccount
    • BankAccountListResponse
    • CreateBankAccountRequest
    • UpdateBankAccountRequest
    • CreateStatementRequest
    • CreateStatementUpload
    • Pagination
    • Error
  1. API Keys

Revoke an API key

DELETE
/api-keys/{keyId}
API Keys
Revoke (permanently disable) an API key.
Authentication: Requires JWT authentication with api_keys scope.
Once revoked, the API key cannot be used for authentication and cannot be re-activated.

Request

Authorization
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Responses

🟢200
application/json
API key revoked successfully
Body

🟠400
🟠401Unauthorized
🟠403Forbidden
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://gvazyknvkqdeuzmrnuwu.supabase.co/functions/v1/api-keys/' \
--header 'X-API-Key: <api-key>'
Response Response Example
200 - Success
{
    "success": true,
    "data": {
        "message": "API key revoked successfully"
    }
}
Modified at 2025-12-30 00:32:05
Previous
Create a new API key
Next
List transactions
Built with