cURL
curl --request POST \ --url https://api.edgee.app/v1/organizations/{id}/users/{userId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "role": "admin" }'
{ "object": "user", "id": "<string>", "email": "<string>", "name": "<string>", "avatar_url": "<string>", "created_at": "2022-03-01T00:00:00Z", "updated_at": "2022-03-01T00:00:00Z", "role": "admin" }
Updates an existing User of an Organization.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here
Bearer <token>
<token>
A User is a unique identifier that you can use to manage and organize your work.
The updated User
Was this page helpful?