Manage User
You can edit the user’s details or delete the account if it’s no longer needed.
Update User
{Tenant endpoint}/partner/branches/update-user/{user_id}
type :
headers
Name |
required |
type |
description |
referer
|
YES
|
string
|
The root of the application that is sending the request
(your
website at jusoorlabs.com)
|
accept
|
YES
|
string
|
the basic accept header (always send it as application/json)
|
token
|
YES
|
string
|
The token provided to you once you've registerd with
Jusoor Labs API.
|
parameters
Name |
required |
type |
description |
user_id
|
YES
|
String
|
The ID of the user in your system.
|
name
|
OPTIONAL
|
String
|
User’s full name, used for display.
|
email
|
OPTIONAL
|
String
|
The user's email address. Must be unique if
provided.
|
DELETE User
{Tenant endpoint}/partner/branches/delete-user/{user_id}
type :
headers
Name |
required |
type |
description |
referer
|
YES
|
string
|
The root of the application that is sending the request
(your
website at jusoorlabs.com)
|
accept
|
YES
|
string
|
the basic accept header (always send it as application/json)
|
token
|
YES
|
string
|
The token provided to you once you've registerd with
Jusoor Labs API.
|
parameters
Name |
required |
type |
description |
user_id
|
YES
|
String
|
The ID of the user in your system.
|
name
|
OPTIONAL
|
String
|
User’s full name, used for display.
|
email
|
OPTIONAL
|
String
|
The user's email address. Must be unique if
provided.
|