Create Auth User

Creates a new auth user in site.

POST api/servers/{server}/sites/{id}/auth-users

Parameters

Parameter Type Status Description
name string required Minimum: 2 Maximum: 255
password string required Minimum: 2 Maximum: 255

Example request:

curl -X POST "https://ploi.io/api/servers/{server}/sites/{id}/auth-users" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data '{"name":"user", "password":"password"}'