Admin - Hosting Accounts
Create a new hosting account
Store a newly created resource in storage.
post/api/hosting-accounts
Request body
Example request
{
"id": 1,
"domain": "example.com",
"hosting_plan_id": 1,
"reseller_id": 1,
"username": "user123",
"ssh_access": true,
"password": "VerrySecurePasswordX1!2#3z4",
"description": "Main account",
"setup_date": "2024-01-01T00:00:00Z",
"expiry_date": "2025-01-01T00:00:00Z",
"renewal_date": "2024-12-01T00:00:00Z",
"is_auto_ssl_enabled": true,
"name": "John Doe",
"phone": "+123456789",
"address": "123 Main St",
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US",
"company": "Acme Inc."
}Response
Created
Example response
{
"id": 1,
"domain": "example.com",
"hosting_plan_id": 1,
"reseller_id": 1,
"username": "user123",
"ssh_access": true,
"password": "VerrySecurePasswordX1!2#3z4",
"description": "Main account",
"setup_date": "2024-01-01T00:00:00Z",
"expiry_date": "2025-01-01T00:00:00Z",
"renewal_date": "2024-12-01T00:00:00Z",
"is_auto_ssl_enabled": true,
"name": "John Doe",
"phone": "+123456789",
"address": "123 Main St",
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US",
"company": "Acme Inc."
}Changes
No recorded changes to this endpoint across all 1 revision of this API.