docs: add Auth0 CLI examples alongside Management API curl commands - #1663
Open
developerkunal wants to merge 4 commits into
Open
docs: add Auth0 CLI examples alongside Management API curl commands#1663developerkunal wants to merge 4 commits into
developerkunal wants to merge 4 commits into
Conversation
Add an "Auth0 CLI" tab next to every Management API (/api/v2/) curl example, so readers can copy the equivalent `auth0 api` command. Each example is presented as Tabs with the Auth0 CLI variant first and cURL second. JSON request bodies are pretty-printed to match the curl formatting. Covers 132 pages and 273 auth0 api commands.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
The source curl put backslash-continuations inside the JSON body, which collapsed onto a single line during conversion. Pretty-print the body to match the curl formatting.
nick-gagliardi
previously approved these changes
Aug 6, 2026
Add a single link to the Auth0 CLI setup and authentication guide on the first Auth0 CLI example of each Management API page, so readers who aren't logged in know where to start. The note sits inside the Auth0 CLI tab for standalone examples, and just after the code group for multi-language AuthCodeGroup examples.
ramya18101
approved these changes
Aug 9, 2026
…nagement-api-examples # Conflicts: # main/docs/customize/email/manage-email-flow.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds an "Auth0 CLI" example next to every Management API (
/api/v2/) curl command in the docs, so readers can copy the equivalentauth0 apicommand instead of only having curl.Each Management API example is now presented with
<Tabs>, showing the Auth0 CLI variant first and the cURL variant second. Theauth0 apicommands drop the domain andAuthorizationheader (the CLI uses the logged-in tenant), map query parameters to-q, and keep the request body under--data. JSON request bodies are pretty-printed so they match the curl formatting rather than collapsing to a single line.Each Management API page also gets a single link to the Auth0 CLI setup and authentication guide on its first Auth0 CLI example, so readers who are not logged in know where to start. The link sits inside the Auth0 CLI tab for standalone examples, and just after the code group for multi-language
AuthCodeGroupexamples.This covers 134 pages and adds 273
auth0 apicommands.Testing
<Tabs>/<Tab>balance across all changed files..mdxfiles were modified.Checklist
CONTRIBUTING.md.