package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
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>",
),
)
request := &management.DeleteActionRequestParameters{
Force: management.Bool(
true,
),
}
client.Actions.Delete(
context.TODO(),
"id",
request,
)
}Deletes an action and all of its associated versions. An action must be unbound from all triggers before it can be deleted.
package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
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>",
),
)
request := &management.DeleteActionRequestParameters{
Force: management.Bool(
true,
),
}
client.Actions.Delete(
context.TODO(),
"id",
request,
)
}Documentation Index
Fetch the complete documentation index at: https://auth0-sdk8048.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the action to delete.
Force action deletion detaching bindings
Action successfully deleted.
Cette page vous a-t-elle été utile ?