# Cannot toggle Auth0 tenant settings migration flags - API failure

**URL:** <https://community.auth0.com/t/cannot-toggle-auth0-tenant-settings-migration-flags-api-failure/9192>\
**Category:** Get Help\
**Tags:** tenant, migration\
**Created:** [January 12, 2018, 10:25pm UTC](https://community.auth0.com/t/cannot-toggle-auth0-tenant-settings-migration-flags-api-failure/9192 "2018-01-12T22:25:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cm.mailing](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@cm.mailing](https://community.auth0.com/u/cm.mailing)\
**Post date:** [January 12, 2018, 10:25pm UTC](https://community.auth0.com/t/cannot-toggle-auth0-tenant-settings-migration-flags-api-failure/9192/1 "2018-01-12T22:25:46Z")

</div>

Hi,  
I hope this message will find its way to the support team, I didn’t find a way to send a direct bug report.  
Thanks

In the tenant settings [https://manage.auth0.com/#/tenant/advanced](https://manage.auth0.com/#/tenant/advanced) there are flags to test the migration of endpoints that will be deprecated.  
Several flags cannot be toggled, they generate an error from the API.

Flags in error:

- Legacy delegation endpoint
- Legacy oauth/ro enpoint
- Legacy social provider access token endpoint

Example error for delegation endpoint flag:

**Request** : PATCH [https://manage.auth0.com/api/tenants/settings](https://manage.auth0.com/api/tenants/settings)

{  
“flags”: {  
“allow\_legacy\_delegation\_grant\_types”: false  
}  
}

**Response** : {  
“statusCode”: 400,  
“error”: “Bad Request”,  
“message”: “Payload validation error: ‘Additional properties not allowed: allow\_legacy\_delegation\_grant\_types’ on property flags (Tenant flags).”,  
“errorCode”: “invalid\_body”  
}

---

<div class="post-metadata">

**Author:** ![Anny](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anny/32/13140_2.png) [@Anny](https://community.auth0.com/u/Anny)\
**Post date:** [January 12, 2018, 10:52pm UTC](https://community.auth0.com/t/cannot-toggle-auth0-tenant-settings-migration-flags-api-failure/9192/2 "2018-01-12T22:52:14Z")

</div>

Thanks for the heads up! I have been able to reproduce this. I will mention it to the Engineering Team

---

<div class="post-metadata">

**Author:** ![cm.mailing](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@cm.mailing](https://community.auth0.com/u/cm.mailing)\
**Post date:** [January 13, 2018, 5:10am UTC](https://community.auth0.com/t/cannot-toggle-auth0-tenant-settings-migration-flags-api-failure/9192/3 "2018-01-13T05:10:19Z")

</div>

awesome, thx for the timely response

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [January 24, 2018, 8:43pm UTC](https://community.auth0.com/t/cannot-toggle-auth0-tenant-settings-migration-flags-api-failure/9192/4 "2018-01-24T20:43:13Z")

</div>

The situation reported about those three flags should already be fixed. If you experience something differently then leave a comment here.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 9:43am UTC](https://community.auth0.com/t/cannot-toggle-auth0-tenant-settings-migration-flags-api-failure/9192/5 "2019-07-25T09:43:08Z")

</div>


