DELETE
/
v1
/
avatars
/
bulk_delete_avatars
curl --request DELETE \
  --url https://os.gan.ai/v1/avatars/bulk_delete_avatars \
  --header 'Content-Type: application/json' \
  --header 'ganos-api-key: <api-key>' \
  --data '[
  "3c90c3cc-0d44-4b50-8888-8dd25736052a"
]'
{
  "deleted_avatars_count": 0,
  "deletion_failed_avatars_count": 0,
  "associated_inferences_deleted_count": 0,
  "deleted_avatar_ids": [],
  "deletion_failed_avatar_ids": [],
  "associated_inferences_deleted": []
}

Authorizations

ganos-api-key
string
header
required

Use the API key generated from our website to programmatically interact with our endpoints. This key authorizes your requests, allowing you to access and utilize our services securely.

Body

application/json · string[]

List of avatar ids to delete.

Response

200
application/json

Successful Response

The response is of type object.