profile_grants_list.go raw

   1  package linodego
   2  
   3  import (
   4  	"context"
   5  )
   6  
   7  type GrantsListResponse = UserGrants
   8  
   9  func (c *Client) GrantsList(ctx context.Context) (*GrantsListResponse, error) {
  10  	return doGETRequest[GrantsListResponse](ctx, c, "profile/grants")
  11  }
  12