Saltar al contenido principal
DELETE
https://{tenantDomain}/api/v2
/
rules
/
{id}
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.Rules.Delete(
        context.TODO(),
        "id",
    )
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

id
string
requerido

ID de la Rule que se va a eliminar.

Respuesta

Rule eliminada correctamente.