# Understanding how to use the Management API

**URL:** <https://community.auth0.com/t/understanding-how-to-use-the-management-api/123688>\
**Category:** Get Help\
**Tags:** actions-management-api, management-api\
**Created:** [December 26, 2023, 5:42am UTC](https://community.auth0.com/t/understanding-how-to-use-the-management-api/123688 "2023-12-26T05:42:36Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![martinassaid](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@martinassaid](https://community.auth0.com/u/martinassaid)\
**Post date:** [January 2, 2024, 12:22pm UTC](https://community.auth0.com/t/understanding-how-to-use-the-management-api/123688/7 "2024-01-02T12:22:00Z")

</div>

Many thanks @SaqibHussain and apologies for not responding earlier.

I think I have the Management API working. I’ve tried using the Management API via node.js and I get an “Grant type ‘client\_credentials’ not allowed for the client.” A quick look at the documentation and unfortunately it seems like it will be another process of wrapping my head around the documentation / forum responses. This might be an issue for another thread when I can look at it more closely.

The new issue aside, I am still unclear on when I would use the vanilla _Management API_ as against _Node Management API Client_? If you have any thoughts / comments / links on the topic that would be great.

As always, my thanks for your considered responses.

Edit: regarding the error I encountered above, I found a community post [here](https://community.auth0.com/t/accessing-the-management-api-without-client-credentials-grant-type/63379/3) which suggested a machine-to-machine application needed to be established. Once I did this and updated the relevant environment variables the delete action via the _Node Management API Client_ worked. I will take a look at why this is the case but for now it has advanced where I was at.

---

_[View the full topic](https://community.auth0.com/t/understanding-how-to-use-the-management-api/123688)._
