Rest API too add / delete Rate Limit rule

Hi,

I am looking for some basic and advance examples on how to create rate limit rule?

I am using Ansible (uri module).

Thanks in advance.
Yaniv