Skip to main content

Get account role

GET 

/dwsu/:dwServiceUnitId/role

Gets the role of the current account in the specified service unit.

Request

Path Parameters

    dwServiceUnitId stringrequired

    The ID of the service unit.

    Example: dw54321

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