HTTP Identity Update


Request


PUT https://api.flowthings.io/v0.1/<account_id>/identity/<identityId>

Headers

NameDescription
Content-Typeapplication/json
X-Auth-TokenAuthentication Token

Example

PUT https://api.flowthings.io/v0.1/<account_id>/identity/i5489f22ed4c66f8dfcbe2794

{
  "email": "[email protected]"
}

Response


HTTP Codes

CodeDescription
200Resource Updated
400Bad Request
401Unauthorized
503Service Unavailable

Example

{
  "head": {
    "status": 200,
    "ok": true,
    "messages": [
        "Your request has been processed successfully. A resource has been updated."
    ],
    "errors": []
  },
  "body": {
    "id": "i54932047d4c67eee1cbdbd31",
    "creationDate": 1418928199361,
    "email": "[email protected]",
    "firstName": "Alice",
    "groupIds": [ ],
    "lastEditDate": 1420218965644,
    "lastName": "Mouser",
    "masterToken": "YCQIj3HGoKZA7ujzXFvIXx8zK4Xc392Z",
    "name": "alice",
    "shares": { }
  }
}