User
Assign a healthcare party ID to current user
PUT
https://demo.icure.cloud/rest/v2/user/current/hcparty/{healthcarePartyId}
UserDto gets returned.
Path Parameters
healthcarePartyId*
String
GET
https://demo.icure.cloud/rest/v2/user/checkPassword
Headers
password*
String
Check token validity
GET
https://demo.icure.cloud/rest/v2/user/token/{userId}
Path Parameters
userId*
String
Headers
token*
String
Create a user
POST
https://demo.icure.cloud/rest/v2/user
Create a user. HealthcareParty ID should be set. Email or Login have to be set. If login hasn't been set, Email will be used for Login instead.
Request Body
body*
User
Create a user
POST
https://demo.icure.cloud/rest/v2/user/inGroup/{groupId}
Create a user. HealthcareParty ID should be set. Email has to be set and the Login has to be null. On server-side, Email will be used for Login.
Path Parameters
groupId*
String
Request Body
body*
User
Delete a User based on his/her ID.
DELETE
https://demo.icure.cloud/rest/v2/user/{userId}
Delete a User based on his/her ID. The return value is an array containing the ID of deleted user.
Path Parameters
userId*
String
Delete a User based on his/her ID.
DELETE
https://demo.icure.cloud/rest/v2/user/inGroup/{groupId}/{userId}
Delete a User based on his/her ID. The return value is an array containing the ID of deleted user.
Path Parameters
groupId*
String
userId*
String
GET
https://demo.icure.cloud/rest/v2/user/encodePassword
Headers
password*
String
Get the list of users by healthcare party id
GET
https://demo.icure.cloud/rest/v2/user/byHealthcarePartyId/{id}
Path Parameters
id*
String
Send a forgotten email message to an user
POST
https://demo.icure.cloud/rest/v2/user/forgottenPassword/{email}
Path Parameters
email*
String
the email of the user
Request Body
body*
EmailTemplate
Get Currently logged-in user session.
GET
https://demo.icure.cloud/rest/v2/user/session
Get current user.
Get presently logged-in user.
GET
https://demo.icure.cloud/rest/v2/user/current
Get current user.
Get presently logged-in user.
GET
https://demo.icure.cloud/rest/v2/user/matches
Get current user.
Require a new temporary token for authentication
POST
https://demo.icure.cloud/rest/v2/user/token/{userId}/{key}
Path Parameters
userId*
String
key*
String
The token key. Only one instance of a token with a defined key can exist at the same time
Query Parameters
tokenValidity
Long
The token validity in seconds
Get a user by his ID
GET
https://demo.icure.cloud/rest/v2/user/{userId}
General information about the user
Path Parameters
userId*
String
Get a user by his Email/Login
GET
https://demo.icure.cloud/rest/v2/user/byEmail/{email}
General information about the user
Path Parameters
email*
String
List users with(out) pagination
GET
https://demo.icure.cloud/rest/v2/user
Returns a list of users.
Query Parameters
startKey
String
An user email
startDocumentId
String
An user document ID
limit
Integer
Number of rows
List users with(out) pagination
GET
https://demo.icure.cloud/rest/v2/user/inGroup/{groupId}
Returns a list of users.
Path Parameters
groupId*
String
Query Parameters
startKey
String
An user login
startDocumentId
String
An user document ID
limit
Integer
Number of rows
Modify a User property
PUT
https://demo.icure.cloud/rest/v2/user/{userId}/properties
Modify a User properties based on his/her ID. The return value is the modified user.
Path Parameters
userId*
String
Request Body
body
List
Modify a user.
PUT
https://demo.icure.cloud/rest/v2/user
No particular return value. It's just a message.
Request Body
body*
User
Modify a user.
PUT
https://demo.icure.cloud/rest/v2/user/inGroup/{groupId}
No particular return value. It's just a message.
Path Parameters
groupId*
String
Request Body
body*
User
Last updated
Was this helpful?