Adding suffixUrl to rest call

If I want to update the users status and the API that I’m using expects:

/users/:username/block

or

/users/:username/activate

Is this even possible? Can I use buildUrl for this or is there a better way to go? If you can give me an example I’d appreciate it.

Thanks! :slight_smile: