cURL
curl --request PUT \ --url https://api.example.com/api/users/{id}/roles \ --header 'Content-Type: application/json' \ --data ' { "roles": [ "admin", "consejero" ] } '
User id (should be a UUID)
OK