Management API
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.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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the role to delete.
Role successfully deleted.
このページは役に立ちましたか?