Deleting API Keys

Request Address: /api/bot/api-keys/{id}

Request Method: DELETE

Request Header 👇

NameTypeDescription

Authorization

String

The API key created

Request Path Parameter 👇

NameTypeIsRequiredDescription

id

int

Yes

The id of API key for which you want to update

Response Parameter 👇

NameTypeDescription

id

int

id

version

int

version

name

string

The name of API key

updatedTime

string

The update time of API key

deletedTime

string

The delete time of API key

lastUsed

int

The call times of this method

Response Example 👇

{
    "code": 0,
    "msg": "success",
    "data": {
        "id": 10,
        "deletedTime": "2023-08-08T08:30:52.988Z",
        "name": null,
        "lastUsed": null,
        "updatedTime": "2023-08-08T08:30:52.988Z",
        "version": 3
    }
}

Last updated