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.Roles.Delete(
context.TODO(),
"id",
)
}Delete a specific user role from your tenant. Once deleted, it is removed from any user who was previously assigned that role. This action cannot be undone.
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.Roles.Delete(
context.TODO(),
"id",
)
}Documentation Index
Fetch the complete documentation index at: https://auth0-feat-testing-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
このページは役に立ちましたか?