API Overview
Message Callbacks
Status Codes
Overview
Deletes prompts in batches.
Request
Authentication: Add authentication headers to the request. See Authentication
Method:
POST
Rate limit:
100 requests/second
Endpoint: https://API domain/jim/assistants/prompts/batchdel
Content-Type:
application/json
Request parameters
| Parameter | Data type | Required | Description | |
|---|---|---|---|---|
| ids | array | Yes | Prompt ID list. |
Request example
POST /jim/assistants/prompts/batchdel HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json
{
"ids":["xxx","yyy"]
}
Response example
{
"code":0,
"msg":"sucess"
}
Response codes
| Response codes | Description | |
|---|---|---|
| 17300 | Deletefailed |