update user information
PATCH
/v1/users/{id}Request
Path Params
id
object
required
Body Params application/json
name
object
optional
family
object
optional
national_code
object
optional
image_name
object
optional
gender
object
optional
sso_id
object
optional
otp
string
optional
The otp sent to the user new cell.
Example:
4556
cell
object
optional
user new cell should be sent along with otp
Example
{
"name": {},
"family": {},
"national_code": {},
"image_name": {},
"gender": {},
"sso_id": {},
"otp": "4556",
"cell": {}
}
Request samples
Responses
Get Authenticated user information(200)
Get Authenticated user information
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
users
array[object (authenticated_user) {7}]
optional
id
object
optional
name
object
optional
family
object
optional
gender
object
optional
sso_id
object
optional
cell
string | null
optional
cell of the user
Example:
913000000
national_code
string | null
optional
national_code of the user
Example:
124666554
Example
{
"users": [
{
"id": {},
"name": {},
"family": {},
"gender": {},
"sso_id": {},
"cell": "913000000",
"national_code": "124666554"
}
]
}
Last modified: 7 months ago