CRBNai API
  1. API Keys
CRBNai API
  • README
  • Authentication
  • Guides
    • Creating a Knowledge Bot
  • API Keys
    • Get all API Keys
      GET
    • Create API Key
      POST
    • Delete API Key
      DELETE
  • Chats
    • Messages
      • Get Chat Messages
      • Post Chat Message
    • Recipes
      • Get All Chat Recipes
    • Get All Chats
      GET
    • Create Chat
      POST
  • Documents
    • Delete Document
      DELETE
    • Download Document
      GET
    • Update Document
      PUT
  • Knowledge Bots
    • Documents
      • Add Document to Knowledge Bot
      • Prepare Document Upload
    • Chats
      • Chat Messages
        • Get Messages of a Knowledge Bot chat
        • Post a message to a Knowlege Bot chat
      • Get all Knowledge Bot chats
      • Create Knowledge Bot chat
    • Chats - deprecated
      • Chat with a Knowledge Bot
    • Create Knowledge Bot
      POST
    • Get All Knowledge Bots
      GET
    • Get Knowledge Bot by ID
      GET
    • Delete Knowledge Bot by ID
      DELETE
    • Update Knowledge Bot by ID
      PUT
  1. API Keys

Delete API Key

DELETE
/api/accounts/me/api-keys/{id}
api
Delete the API key using the specified id.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request DELETE 'https://app.crbnai.com/api/accounts/me/api-keys/{% faker datatype.uuid %}'
Response Response Example
200 - Success
{
  "id": "21082fef-5185-41da-8a76-7ac11d724a9f",
  "created_at": "2023-07-14T03:25:55.758Z",
  "owner_id": "16f44ffa-2e1c-49ab-b445-b0e62cb3f48d",
  "token_hash": "nisi eiusmod dolore commodo in"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
Example:
{% faker datatype.uuid %}

Responses

🟢200OK
application/json
Body
object {0}
🟠400Bad Request
Previous
Create API Key
Next
Get Chat Messages
Built with