cURL
curl --request POST \ --url https://api.zochil.io/v3/monitoring/admins/create \ --header 'Content-Type: application/json' \ --header 'access-token: <api-key>' \ --data ' { "username": "<string>", "email": "[email protected]", "password": "<string>", "is_super": false, "roles": [ "<string>" ] } '
{ "id": "<string>", "username": "<string>", "email": "<string>", "is_super": true, "roles": [ "<string>" ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Create a new administrator
Admin created successfully