What is an API for register a new admin user?

System Information
  • Strapi Version: 4
  • Operating System: Macbook
  • Database: postgres
  • Node Version: 14.18.1
  • NPM Version: 6.14.15
  • Yarn Version:

I want to use the API from other application, and I want to automatically create the admin user, so the user can login to the strapi dashboard later.
I use this localhost:1337/admin/register , but I got an error:
{
“data”: null,
“error”: {
“status”: 400,
“name”: “ValidationError”,
“message”: “2 errors occurred”,
“details”: {
“errors”: [
{
“path”: [
“registrationToken”
],
“message”: “registrationToken is a required field”,
“name”: “ValidationError”
},
{
“path”: [
“userInfo”
],
“message”: “userInfo is a required field”,
“name”: “ValidationError”
}
]
}
}
}

please help me to find the data that I need to input, or the documentation about this.

Thank you.