# We dont know where to write endpoint for a management API patch?

**URL:** <https://community.auth0.com/t/we-dont-know-where-to-write-endpoint-for-a-management-api-patch/93173>\
**Category:** Get Help\
**Created:** [October 26, 2022, 6:59pm UTC](https://community.auth0.com/t/we-dont-know-where-to-write-endpoint-for-a-management-api-patch/93173 "2022-10-26T18:59:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![artin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/artin/32/40846_2.png) [@artin](https://community.auth0.com/u/artin)\
**Post date:** [October 26, 2022, 6:59pm UTC](https://community.auth0.com/t/we-dont-know-where-to-write-endpoint-for-a-management-api-patch/93173/1 "2022-10-26T18:59:43Z")

</div>

We are trying to get the country code and phone number during MFA enrollment. However we dont know where to call the endpoint that’s needed.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 28, 2022, 5:34pm UTC](https://community.auth0.com/t/we-dont-know-where-to-write-endpoint-for-a-management-api-patch/93173/3 "2022-10-28T17:34:09Z")

</div>

Hi @artin,

Welcome to the Auth0 Community!

Please see this FAQ:

> [@How to Get Country Code and Phone Number During MFA Enrollment](https://community.auth0.com/t/how-to-get-country-code-and-phone-number-during-mfa-enrollment/85325):
>
> Problem Statement: How to get the country code and phone number during MFA enrollment. Solution: Here are the steps and sample scripts: 1.Disable the phone number obfuscation by sending the following body to the [/api/v2/tenants/settings](https://auth0.com/docs/api/management/v2#!/Tenants/patch_settings) endpoint: { "flags":{ "disable\_management\_api\_sms\_obfuscation":true } } If true, SMS phone numbers will not be obfuscated in Management API GET calls. 2.Write a rule to call [/api/v2/guardian/enrollments/{id}](https://auth0.com/docs/api/management/v2#!/Guardian/get_enrollments_by_id) endpoint and retrieve M…

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 11, 2022, 5:34pm UTC](https://community.auth0.com/t/we-dont-know-where-to-write-endpoint-for-a-management-api-patch/93173/4 "2022-11-11T17:34:20Z")

</div>

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