Create/Update an user.
Security
api_key
A user to update.
- Mock serverhttps://coreapi.hoxton.ai/_mock/v1/users
- https://nexus.hoxton.ai/api/v1https://nexus.hoxton.ai/api/v1/users
curl -i -X PUT \
https://coreapi.hoxton.ai/_mock/v1/users \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"email": "user@example.com",
"firstName": "string",
"id": "string",
"lastName": "string",
"name": "string",
"organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
"organisationName": "string",
"roles": [
"member"
],
"siteIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}'OK.
Response
{ "email": "user@example.com", "firstName": "string", "id": "string", "lastName": "string", "name": "string", "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98", "organisationName": "string", "roles": [ "member" ], "siteIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }