📄Edit User
Last updated
Last updated
Edit User Details
Header Parameter ⬇️
Bearer {{access_token}} (required)
String
Provide Access Token for fetching User Account Details. Access Token is generated via the Submit OTP API endpoint.
Sample Access Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmcmVzaCI6dHJ1ZSwiaWF0IjoxNjgwMDI0MDIzLCJqdGkiOiI3NDQ0YWRjOS1lMDk4LTQ3YmEtOWYxZS04MmQ5MjgzMzAzMjYiLCJ0eXBlIjoiYWNjZXNzIiwic3ViIjoiRVFPS1NVIiwibmJmIjoxNjgwMDI0MDIzLCJleHAiOjE2ODAxOTY4MjN9.UWYCZXenkVS-SVgHlncOht-ckloNcPilUPoYAmH2Yfw.
Body Parameter ⬇️
name (required)
String
Provide Name for Update.
language (required)
String
Provide Language for Update
organization_id (required)
String
Provide Organization ID for update
image_url (required)
String
Provide image url to update in the user profile.
Sample Request ⬇️ (Body Parameter)
Responses ⬇️
Status Code: 🟢200 (200 denotes 'ok')
Status Code: 🔴404 (404 denotes 'Not found')
Response Parameter Description:
_id
User ID
image_url
User Profile Image URL or Avatar
language
name
Name for the User Account
phone_number
Phone Number Linked to User Account
roles : default :
Language in which the user has signed in. To see all language types check API Endpoint.
This contains the organization id in which the User has joined. To see the list of all organizations by org id check API endpoint.