Skip to main content

Get role

GET 

/account/me/role

Gets the current role of the cloud account.

Request

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...