cURL
curl --request PATCH \ --url http://0.0.0.0:8000/users/{id_user} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "first_name": "<string>", "last_name": "<string>", "email": "jsmith@example.com", "password": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_name": "<string>", "last_name": "<string>", "email": "jsmith@example.com", "organization": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>" } }
Update user account information. Users can only update their own account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
8
Successful Response
Show child attributes
Was this page helpful?