Problem to modify endpoint using alamofire .put request

Hi all,
for some days I’ve been trying to implement endpoint modification requests, using Alamofire on Swift language (.put requests). In the past I have implemented this feature on Android using Volley successfully, but with iOS / Alamofire I can’t fix it. Is it possible to have a small example of calling an Alamofire .put request to modify, for example, the enabled field of an endpoint? I’m developing the code for the Blulogica client (https://blulogica.aws.thinger.io/).
Thank you!