How Do I switch my application type from "Machine to Machine" to native?

How Do I switch my application from “Machine to Machine” to native?

I had changed the application from Native to “Machine To Machine” to try something. That something didn’t pan out so I would like to change the application type back to native. However, the dropdown option is disabled. How do I change the Application Type back to Native?

Hey there @vyperad8 !

You’ll need to make this change via the Management API - PATCH to /api/v2/clients/{id} like the following:

To get a Management API Access Token, please see this doc.

Hope this helps!

Thank you for your response…

I received the following error when I tried to get the access token:

Grant type ‘client_credentials’ not allowed for the client

1 Like

No problem, happy to help!

How did you go about getting the access token?

The easiest way to grab a Management API access token for this is to go to Applications → APIs → Management API and then to the “API Explorer” tab as pictured below:

I used the link in the previous reply and sent a web request. I retrieved the token and based on your recent reply.

I used it to set the token. When I use the update client using the client id of the application I received the following:

{
“statusCode”: 401,
“error”: “Unauthorized”,
“message”: “Missing authentication”
}

must have been a delay… it finally worked. thank you for your help!!

1 Like

That’s great news! Thanks for following up here :rocket:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.