Passer au contenu principal
GET
https://{tenantDomain}/api/v2
/
rules-configs
Go
package example

import (
    client "github.com/auth0/go-auth0/management/client"
    option "github.com/auth0/go-auth0/management/option"
    context "context"
)

func do() () {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.RulesConfigs.List(
        context.TODO(),
    )
}
[
  {
    "key": "MY_RULES_CONFIG_KEY"
  }
]

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Réponse

Rules config keys successfully retrieved.

key
string
défaut:MY_RULES_CONFIG_KEY

Key for a rules config variable.

Required string length: 1 - 127
Pattern: ^[A-Za-z0-9_\-@*+:]*$