メインコンテンツへスキップ
DELETE
https://{tenantDomain}/api/v2
/
hooks
/
{id}
/
secrets
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.Hooks.Secrets.Delete(
        context.TODO(),
        "id",
        []string{
            "string",
        },
    )
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

ID of the hook whose secrets to delete.

Pattern: ^[A-Za-z0-9-]*$

ボディ

Minimum array length: 1

レスポンス

Hook secrets successfully deleted.