Editing API Keys
Request Address: /api/bot/api-keys/{id}
Request Method: PUT
Request Header 👇
Name
Type
Description
Authorization
String
The API key created
Request Body Parameter 👇
Name
Type
IsRequired
Description
Name
String
Yes
The name of API key for which you want to update
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
userId
string
The user id of OORT AI user
secretKey
string
The API key info
CreatedTime
string
The create time 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 👇
Last updated