Light Mode
Cancel
POST
/mj/v2/cancelThis endpoint from PiAPI's Midjourney API cancels a task before processing
status.
Request
Body Params application/json
task_ids
array
required
an array of task_ids to cancel
Example
{
"task_ids": [
null
]
}
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
OK - Successful response
Data Schema
object {0}
Example
{}
Modified at 15 days ago