Get a role

This operation retrieves a role's details.

Path Params
integer
required

Unique identifier for each role. To get this value, run the List roles operation.

Query Params
boolean
Defaults to false

Includes information about actions such as edit or delete that you can take for the object, false by default. Don't confuse this with the action parameter, which applies to the Set two-factor authentication operation.

boolean
Defaults to false

Lists granted roles assigned for a role, false by default.

boolean
Defaults to false

Returns users assigned to the roles, false by default.

string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Response

Response body
object
object

Specifies activities available for the role.

boolean
required

Whether you can remove the role.

boolean
required

Whether you can modify the role.

string
required
length ≥ 1

The user who created the granted role.

date-time
required

ISO 8601 timestamp indicating when the granted role was originally created.

array of objects
length ≥ 0

Granted roles for the account.

grantedRoles
object
string
length ≥ 1

Descriptive label for the role to convey its use.

integer
required
≥ 1

Unique identifier for each granted role.

string
required
length ≥ 1

Descriptive label for the granted role.

string
required
length ≥ 1

The user who last edited the granted role.

date-time
required

ISO 8601 timestamp indicating when the granted role was last updated.

string
required
length ≥ 1

Descriptive label for the role to convey its use.

integer
required
≥ 1

Unique identifier for each role.

string
required
length ≥ 1

Descriptive label for the role.

string
required

Whether it's a standard or account role defined by Akamai, or a custom role created by one of your account's users. You can only modify or delete custom roles. To learn more, see About roles.

custom standard account

array of objects
length ≥ 0

Users on the account who share the same role.

users
object
string
required
length ≥ 1

Unique identifier for each account.

string
required

The user's email address.

string
required
length ≥ 1

The user's first name.

date-time

ISO 8601 timestamp indicating when the user last logged in.

string
required
length ≥ 1

The user's surname.

string
required
length ≥ 1

Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.

Language
Authentication
URL