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.Get( context.TODO(), "id", ) }
{ "id": "<string>", "name": "<string>", "description": "<string>" }
Retrieve details about a specific user role specified by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the role to retrieve.
Role successfully retrieved.
ID for this role.
Name of this role.
Description of this role.
Cette page vous a-t-elle été utile ?