From 15bb5a9a83606e0fe4dcf15ec13a7d49e215583e Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea Date: Mon, 28 Nov 2022 18:26:34 +0100 Subject: [PATCH] Update api cmd docs --- docs/auth0_api.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/auth0_api.md b/docs/auth0_api.md index 9a626bc59..ab6ccbf0b 100644 --- a/docs/auth0_api.md +++ b/docs/auth0_api.md @@ -9,8 +9,7 @@ Makes an authenticated HTTP request to the Auth0 Management API Makes an authenticated HTTP request to the Auth0 Management API and prints the response as JSON. -The method argument is optional, and when you don’t specify it, the command defaults to GET for requests without data -and POST for requests with data. +The method argument is optional, and when you don’t specify it, the command defaults to GET for requests without data and POST for requests with data. Auth0 Management API Docs: https://auth0.com/docs/api/management/v2 @@ -25,9 +24,9 @@ auth0 api [flags] ### Examples ``` -auth0 api "/organizations?include_totals=true" -auth0 api get "/organizations?include_totals=true" -auth0 api clients --data "{\"name\":\"apiTest\"}" +auth0 api "/stats/daily?from=20221101&to=20221118" +auth0 api get "/tenants/settings" +auth0 api clients --data "{\"name\":\"ssoTest\",\"app_type\":\"sso_integration\"}" ```