Passer au contenu principal
GET
https://{tenantDomain}/api/v2
/
hooks
/
{id}
/
secrets
Go
package example

import (
    context "context"

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

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Hooks.Secrets.Get(
        context.TODO(),
        "id",
    )
}
{}

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

id
string
requis

ID du Hook dont les secrets doivent être récupérés.

Réponse

Secrets du Hook récupérés avec succès.

Table de hachage de paires clé-valeur où chaque valeur doit être une chaîne de caractères.

{key}
string