Skip to main content
POST
/
api
/
open
/
v3
/
faceswap
/
result
/
delbyids
Delete Faceswap Results
curl --request POST \
  --url https://openapi.akool.com/api/open/v3/faceswap/result/delbyids \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "_ids": "64ef2f27b33f466877701c6a,64ef2f27b33f466877701c6b"
}'
{
  "code": 1000,
  "msg": "OK"
}

Important Notes

  • Result IDs should be comma-separated strings
  • You can get the _id field from Image Faceswap or Video Faceswap API responses
  • This operation is irreversible - deleted results cannot be recovered

Authorizations

x-api-key
string
header
required

Your API Key used for request authorization. If both Authorization and x-api-key have values, Authorization will be used first and x-api-key will be discarded.

Body

application/json
_ids
string
required

Result IDs are strings separated by commas

Response

200 - application/json

Results deleted successfully

code
integer
required

Interface returns business status code (1000: success)

Example:

1000

msg
string
required

Interface returns status information

Example:

"OK"