/user
User
POST
https://api-org.synap.ac/users
Register a new user to your organisation.
Headers
x-api-key
string
Your API usage token
x-syn-org-id
string
Your organisation's identifier on Synap
x-syn-org-secret
string
You organisation's secret key, used to authorise each request
content-type
string
application/json
Body Parameters
User
Attribute
Type
Required
Description
string
yes
The user's email address
password
string
yes
At least 8 characters, mixture of 1 uppercase, 1 lowercase and 1 digit
name
string
yes
The user's name
attr
object
optional
Custom attributes you wish to set for the user
Actions
Attribute
Type
Required
Description
addToUserGroup
object
optional
Provide the id of the usergroup the new user should be added to
Examples
Delete user
DELETE
{API_URL}/users/:objectId
Permanently remove the user and all their data from your organisation.
Query Parameters
objectId
string
The user's objectId.
Headers
X-Api-Key
string
Your API usage token
X-Syn-Org-Id
string
Your organisation's identifier on Synap
X-Syn-Org-Secret
string
Your organisation's secret key, used to authorised each request
Content-Type
string
application/json
Examples
Last updated
Was this helpful?