Skip to main content

Get role

GET 

/account/:accountId/role

Gets information about the given role.

Request

Path Parameters

    accountId stringrequired

    The ID of the cloud account.

    Example: account-100001

Header Parameters

    x-maxone-role-id string

Responses

OK

Schema

    code int32

    The response code.

    data

    object

    The role information.

    createTimestamp int64

    The creation timestamp of the role.

    description string

    The description of the role.

    id stringrequired

    The ID of the role.

    isSystem boolean

    Whether the role is a system role.

    name string

    The name of the role.

    privilegeList

    object[]

    The privileges of the role.

  • Array [

  • description string

    The description of the privilege.

    id string

    The ID of the privilege.

    name string

    The name of the privilege.

    sortValue int32

    The sort order.

  • ]

  • msg string

    The response message.

Loading...