application/json

Body

object object

Responses

  • 200

    Successful response

POST /cpanel/subdomain
curl \
 -X POST http://localhost:3003/api/dev/cpanel/subdomain \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"domain":"test","rootdomain":"croissant-rouge.org.tn"}'
Request example
{
  "domain": "test",
  "rootdomain": "croissant-rouge.org.tn"
}
Request examples
{
  "domain": "test",
  "rootdomain": "croissant-rouge.org.tn"
}