Skip to main content

Get switchable roles

GET 

/account/me/switchable-role

Gets the roles to which the cloud account can be switched.

Request

Responses

OK

Schema

    code int32

    The response code.

    data

    object[]

    The wrapped responding data.

  • Array [

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