You can use Auth0’s to update application ownership, which allows you to specify whether an application is registered with Auth0 as a first-party or third-party application. Make a PATCH call to the Update a Client endpoint. Be sure to replace {yourClientId}, {yourMgmtApiAccessToken}, and {ownershipBoolean} placeholder values with your , Management API , and boolean representing the application’s ownership, respectively.
curl --request PATCH \
--url 'https://{yourDomain}/api/v2/clients/%7ByourClientId%7D' \
--header 'authorization: Bearer {yourMgmtApiAccessToken}' \
--header 'cache-control: no-cache' \
--header 'content-type: application/json' \
--data '{ "is_first_party": "{ownershipBoolean}" }'
ValueDescription
YOUR_CLIENT_IDΤhe ID of the application to be updated.
MGMT_API_ACCESS_TOKENAccess Tokens for the Management API with the update:clients.
OWNERSHIP_BOOLEANThe ownership you would like to specify for the application. If the application is first-party, is_first_party should have a value of true. If the application is third-party, is_first_party should have a value of false.

Learn more