Deleting API Keys

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

Request Method: DELETE

Request Header 👇

Name
Type
Description

Authorization

String

The API key created

Request Path Parameter 👇

Name
Type
IsRequired
Description

id

int

Yes

The id of API key for which you want to update

Response Parameter 👇

Name
Type
Description

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