Authorization: Bearer ********************{
"name": "new_server",
"plan": "cloud-vps-2gb",
"billing_cycle": 3,
"image_id": 73,
"password": "fCm%5D&8Zc24rh"
}curl --location --request POST 'https://api.vpsbg.eu/v1/servers' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "new_server",
"plan": "cloud-vps-2gb",
"billing_cycle": 3,
"image_id": 73,
"password": "fCm%5D&8Zc24rh"
}'{
"message": "The Password field is required when ssh keys is not present. ",
"errors": {
"password": [
"The Password field is required when ssh keys is not present."
],
"ssh_keys": [
"The ssh keys field is required when Password is not present."
]
}
}