Create/Update an user.
A user to update.
OK.
OK.
Bad request.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
{- "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"
]
}
{- "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"
]
}
Returns the profile data of the caller.
OK.
Not allowed.
Unprocessable entity.
Failed.
{- "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"
]
}
Get details of the user given by the ID.
OK.
Authentication failed.
Not allowed.
Not found.
Failed.
{- "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"
]
}
Fetch the list of users associated with an organisation or site.
OK.
Bad request.
Authentication failed.
Not allowed.
Unprocessable entity.
Failed.
[- {
- "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"
]
}
]