This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CWP API / Issue creating user accounts via API on Alma Linux 9 with CWP
« on: August 05, 2025, 10:54:47 PM »
I've been trying to create an account from my hosting portal with the credentials given from cwp api docs;
curl -X POST https://your-host:2304/v1/account \
-d "key=your_api_key" \
-d "action=add" \
-d "domain=example.com" \
-d "user=testuser" \
-d "pass=StrongPass123!" \
-d "email=user@example.com" \
-d "package=default" \
Everything is correct because i can successfully list user accounts and also packages but trying to create account always shows;
"status": "Error",
"msj": "Check All Fields (only lower caps are allowed and no special characters or empty spaces..."
I've checked and no special characters or empty spaces in my credentials. I'd be happy to get any help on this. Thanks
curl -X POST https://your-host:2304/v1/account \
-d "key=your_api_key" \
-d "action=add" \
-d "domain=example.com" \
-d "user=testuser" \
-d "pass=StrongPass123!" \
-d "email=user@example.com" \
-d "package=default" \
Everything is correct because i can successfully list user accounts and also packages but trying to create account always shows;
"status": "Error",
"msj": "Check All Fields (only lower caps are allowed and no special characters or empty spaces..."
I've checked and no special characters or empty spaces in my credentials. I'd be happy to get any help on this. Thanks
Pages: [1]
