V1ImageTasksIdDismiss
Dismiss a failed image task
Sets dismissedAt timestamp on a task so it no longer appears in history. Returns revalidate paths.
Sets dismissedAt timestamp on a task so it no longer appears in history. Returns revalidate paths.
Authorization
cookieAuth better-auth.session_token<token>
Session cookie set by Better Auth. Login via the app to obtain.
In: cookie
Path Parameters
id*string
Response Body
application/json
application/json
application/json
curl -X POST "http://localhost:3002/v1/image/tasks/string/dismiss"{
"success": true,
"error": "string",
"revalidate": [
"string"
]
}{
"success": true,
"error": "string"
}{
"success": true,
"error": "string"
}