cURL
curl --request POST \ --url https://api.futureagi.com/accounts/user/role/update/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "admin" }'
Update a user’s role in the organization
JWT token obtained from /accounts/token/ endpoint
admin
member
viewer
Role updated
Was this page helpful?