cURL
curl --request PATCH \ --url https://api.vidbeo.com/v2/users/{USER_ID} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Example", "role": "owner" } '
{ "success": true, "result": { "id": "abcde12345abcde12345a", "name": "Example", "email": "[email protected]", "role": "owner", "created_by": "abcde12345abcde12345a", "created_time": "2024-01-01T00:00:00.000Z", "updated_by": "abcde12345abcde12345a", "updated_time": "2024-01-01T00:00:00.000Z" }, "links": {}, "errors": [] }
Update a user’s details
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the user
"abcde12345abcde12345a"
Their full name
1 - 40
"Example"
Their assigned role
viewer
uploader
admin
owner
"owner"
User
true
Show child attributes
21
"[email protected]"
"2024-01-01T00:00:00.000Z"
{}
[]