api validate report errors

I use api "/api/database/validate",but keep reporting this kind of error,value must be a valid database engine.

post: /api/database/validate

body:
{
"engine":"postgres",
"details":{
"host": "172.16.67.149",
"port": 5432,
"dbname": "postgres",
"user": "postgres",
"password": "Spower2023-Geoway"
}
}

I don’t know what’s that endpoint, can you confirm what are you trying to do?