deleteOne(filter, callback)), which Mongoose 7 removed, so it always fails with HTTP 500 and nothing is deleted.infra-manage-delete permission.authorization: ********************curl --location --request DELETE 'https://qa-api.kiolinkapp.com/v1/infra/sts/65f1c2a9e4b0a1b2c3d4e9a1' \
--header 'authorization: <api-key>'{
"acknowledged": true,
"deletedCount": 1
}