Nebula Block
  • Overview
  • Getting Started
    • Quickstart
    • Account Setup
    • Billing Information
    • Deploy Products
  • Core Services
    • Inference Models
      • Text Generation
      • Text Generation (Vision)
      • Image Generation
      • Embedding Generation
      • Model List
    • GPU Instances
      • Quickstart
    • Object Storage
      • Get Started
      • Tutorials
        • Linux/Mac
        • Windows
      • SDK
        • Golang
        • Python
        • Java
    • SSH Keys
      • Quickstart
  • API Reference
    • Platform API
      • Authentication
      • Instances
        • List Products
        • Create GPU Instance
        • List User Instances
        • List Deleted User Instances
        • User Instance Detail
        • Delete GPU Instance
        • Start GPU Instance
        • Stop GPU Instance
        • Reboot GPU Instance
      • SSH Keys
        • List SSH Keys
        • Rename SSH Key
        • Delete SSH Key
      • API Keys
        • List API Keys
        • Delete API Key
      • Billing
        • List Invoices
        • Download Invoice
        • Get Payment History
    • Inference API (OpenAI Compatible)
      • List Models
      • Generate Text
      • Generate Text (Vision)
      • Generate Images
      • Generate Embeddings
  • Team
  • Tier
  • Referral
  • Glossary
  • Contact Us
Powered by GitBook
On this page
  • HTTP Request
  • Path Parameters
  • Response Attributes
  • Example
  1. API Reference
  2. Platform API
  3. API Keys

Delete API Key

PreviousList API KeysNextBilling

Last updated 6 months ago

Delete a specified API key by including the ID of the API key in the endpoint path. To retrieve your API key IDs, see the .

HTTP Request

DELETE {API_URL}/api-keys/{id}

Path Parameters

Parameters
Requirements
Type
Description

id

Required

int

The unique identifier of the API key to be deleted

Response Attributes

data dict

Empty data object

status string

Indicates the result of the request to delete an API key. success signifies success, while failed indicates an error.

message string

A description of the status of the request.

Example

Request

curl -X DELETE '{API_URL}/api-keys/5' \
-H 'Authorization: Bearer {TOKEN/KEY}'

Response

{
    "data": {},
    "message": "API key successfully deleted",
    "status": "success"
}
List API Keys API