Profile

Get the current users profle details

get

Get the current users profle details

Authorizations
Responses
200

successful operation

application/json
get
GET //profile HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{
  "profile": {
    "email": "[email protected]",
    "firstName": "text",
    "lastName": "text",
    "timezone": "text"
  }
}

Updates the current users profle details

put

Updates the current users profle details

Authorizations
Body

Refer to the /schemas/profile endpoint for the full JSON Schema definition

emailstring · emailRequired
firstNamestringRequired
lastNamestringRequired
timezonestringOptional
Responses
200

successful operation

application/json
put
PUT //profile HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 81

{
  "email": "[email protected]",
  "firstName": "text",
  "lastName": "text",
  "timezone": "text"
}
{
  "profile": {
    "email": "[email protected]",
    "firstName": "text",
    "lastName": "text",
    "timezone": "text"
  }
}