# \#managment-api-v2

**URL:** https://community.auth0.com/tag/managment-api-v2/1012.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [\[Management API\] Search for Organizations with Filter by Metadata Support](https://community.auth0.com/t/management-api-search-for-organizations-with-filter-by-metadata-support/202283)

<div class="topic-metadata">

**Author:** [@ahns](https://community.auth0.com/u/ahns)\
**Replies:** 1\
**Last updated:** [August 10, 2026, 2:49pm UTC](https://community.auth0.com/t/management-api-search-for-organizations-with-filter-by-metadata-support/202283 "2026-08-10T14:49:19Z")

</div>

Now that there is the ability to search for organizations based on metadata key/value (currently in beta), when can we expect this to be available in the Management API?

---

## [Default Roles For User Registration/Creation](https://community.auth0.com/t/default-roles-for-user-registration-creation/181563)

<div class="topic-metadata">

**Author:** [@hanufeenstra](https://community.auth0.com/u/hanufeenstra)\
**Replies:** 1\
**Last updated:** [February 28, 2025, 1:06pm UTC](https://community.auth0.com/t/default-roles-for-user-registration-creation/181563 "2025-02-28T13:06:19Z")

</div>

Feature: Be able to set a role as the default role so that a user gets created with this role already assigned. Description: Post user registration, either via universal login or management API, a user is created with t…

---

## [Pricing for Management API](https://community.auth0.com/t/pricing-for-management-api/60869)

<div class="topic-metadata">

**Author:** [@minh.d.nguyen2211](https://community.auth0.com/u/minh.d.nguyen2211)\
**Replies:** 2\
**Last updated:** [October 30, 2023, 10:01am UTC](https://community.auth0.com/t/pricing-for-management-api/60869 "2023-10-30T10:01:27Z")

</div>

Hi, I plan to use Management API v2 to set up M2M in order to update user meta data. Im using free tier pricing atm and the pricing guide says its limited to 1000 token. Does that mean every time token gets expired and…

---

## [Rule not used when creating a user via the Management API, is there an alternative approach?](https://community.auth0.com/t/rule-not-used-when-creating-a-user-via-the-management-api-is-there-an-alternative-approach/97829)

<div class="topic-metadata">

**Author:** [@evert](https://community.auth0.com/u/evert)\
**Replies:** 3\
**Last updated:** [January 17, 2023, 4:29pm UTC](https://community.auth0.com/t/rule-not-used-when-creating-a-user-via-the-management-api-is-there-an-alternative-approach/97829 "2023-01-17T16:29:21Z")

</div>

Given our following rule: function (user, context, callback) { var uuid = require("uuid"); user.app\_metadata = user.app\_metadata || {}; var promise = Promise.resolve(1); if (!user.app\_metadata.uuid) { use…

---

## [Connecting Client to a resource server with Management API](https://community.auth0.com/t/connecting-client-to-a-resource-server-with-management-api/97376)

<div class="topic-metadata">

**Author:** [@2mm](https://community.auth0.com/u/2mm)\
**Replies:** 1\
**Last updated:** [January 9, 2023, 9:32pm UTC](https://community.auth0.com/t/connecting-client-to-a-resource-server-with-management-api/97376 "2023-01-09T21:32:57Z")

</div>

When automating the creation of M2M applications what is the correct way to assign a resource server for this new application, as there is no resource server in the POST /api/v2/clients body schema?

---

## [Get users and roles by Management API V2](https://community.auth0.com/t/get-users-and-roles-by-management-api-v2/75277)

<div class="topic-metadata">

**Author:** [@asaf1](https://community.auth0.com/u/asaf1)\
**Replies:** 2\
**Last updated:** [December 22, 2021, 8:17am UTC](https://community.auth0.com/t/get-users-and-roles-by-management-api-v2/75277 "2021-12-22T08:17:37Z")

</div>

Hi. I couldn’t find how to perform the following queries, maybe someone will have ideas: get all the users by role (like https://${AUTH0\_DOMAIN}/api/v2/roles/${roleID}/users), but I want that the users will have all t…

---

## [Types of \`user\_id\` allowed?](https://community.auth0.com/t/types-of-user-id-allowed/9011)

<div class="topic-metadata">

**Author:** [@m.dornseif](https://community.auth0.com/u/m.dornseif)\
**Replies:** 3\
**Last updated:** [December 20, 2017, 6:48am UTC](https://community.auth0.com/t/types-of-user-id-allowed/9011 "2017-12-20T06:48:01Z")

</div>

I seem to be able to create Users via the management API that I can not retrive. user\_ids like CK10596 and u22759of6c92c seem to work fine. But I also have uids like email@example.com. If I want to create a User with …

---

## [Log Count for Log retrieval using management API v2](https://community.auth0.com/t/log-count-for-log-retrieval-using-management-api-v2/8949)

<div class="topic-metadata">

**Author:** [@fllamo](https://community.auth0.com/u/fllamo)\
**Replies:** 2\
**Last updated:** [December 12, 2017, 9:44pm UTC](https://community.auth0.com/t/log-count-for-log-retrieval-using-management-api-v2/8949 "2017-12-12T21:44:11Z")

</div>

I am working on pulling logs to avoid losing them since we only have 10 days of retention. I need a way to retrieve a total log count available using the management v2 API?

---

## [Management API V2 for .NET UpdateAsync fails with conflict errors](https://community.auth0.com/t/management-api-v2-for-net-updateasync-fails-with-conflict-errors/8544)

<div class="topic-metadata">

**Author:** [@Jeff\_Gochin](https://community.auth0.com/u/Jeff_Gochin)\
**Replies:** 1\
**Last updated:** [December 1, 2017, 12:00am UTC](https://community.auth0.com/t/management-api-v2-for-net-updateasync-fails-with-conflict-errors/8544 "2017-12-01T00:00:13Z")

</div>

I have recently been getting errors like the following, in various combinations. Cannot update email\_verified and phone\_number simultaneously It started when I tried updating the phone\_number field. I have tried to s…
