Append new Permission using Management API

Is there a way to append a new Permission to an already existing API Permissions through Management API?
I followed the following example Add API Permissions but it removes existing permissions and only adds the new one sent in the request.

Hi @hadeel,

Welcome to the Auth0 Community!

It looks like the permissions follow a similar schema as user data where

The properties of the new object will replace the old ones.

I tested it and can confirm this behavior. In order to preserve the existing permissions you will need to add them the patch request.

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