Skip to content

Commit

Permalink
Remove forward slash in api cmd examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Nov 29, 2022
1 parent b56f661 commit 304faa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/auth0_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ auth0 api <method> <uri> [flags]
### Examples

```
auth0 api "/stats/daily" -q "from=20221101" -q "to=20221118"
auth0 api get "/tenants/settings"
auth0 api "stats/daily" -q "from=20221101" -q "to=20221118"
auth0 api get "tenants/settings"
auth0 api clients --data "{\"name\":\"ssoTest\",\"app_type\":\"sso_integration\"}"
```
Expand Down
4 changes: 2 additions & 2 deletions internal/cli/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ The method argument is optional, and when you don’t specify it, the command de
"Auth0 Management API Docs:\n", apiDocsURL,
"Available Methods:\n", strings.ToLower(strings.Join(apiValidMethods, ", ")),
),
Example: `auth0 api "/stats/daily" -q "from=20221101" -q "to=20221118"
auth0 api get "/tenants/settings"
Example: `auth0 api "stats/daily" -q "from=20221101" -q "to=20221118"
auth0 api get "tenants/settings"
auth0 api clients --data "{\"name\":\"ssoTest\",\"app_type\":\"sso_integration\"}"
`,
RunE: apiCmdRun(cli, &inputs),
Expand Down

0 comments on commit 304faa1

Please sign in to comment.