How to create Category/Group through API

I have tried using API docs and tried creating categories/groups but none are getting created. I am not sure if I am doing this as expected. Sharing screenshots for reference.

For reference

See Reverse engineer the Discourse API