Account

Attribute Type Description
email string The email the user has registered for CloudsFor with
vm_limit integer The total number of VM’s the user may have
uuid string (alphanumeric) The universal identifier for this user

Get User Information

cURL Example:

curl -X GET -H 'Content-Type: application/json' -u 'user@example.com:password' "https://cloudsfor.com/api/v1/account"

Request Headers:

Content-Type: application/json
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=

Response Headers:

content-type: application/json; charset=utf-8
status: 200 OK

Response Body:

{
  "account": {
    "email": "user@example.com",
    "uuid": "b6fr89dbf6d9156cace5f3c78dc9851d957381ef",
    "vm_limit": 2
  }
}