ListGroups

Updated at:

List EIAM account groups.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

Instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

PageNumber

integer

No

Page number.

1

PageSize

integer

No

Page size.

20

GroupIds

array

No

Group ID list.

string

No

Group ID.

group_d6sbsuumeta4h66ec3il7yxxxx

GroupName

string

No

Group name. The query uses exact matching.

name_test

GroupNameStartsWith

string

No

Group name prefix. The query uses prefix matching.

name

GroupExternalId

string

No

Group external ID.

group_external_id

Response elements

Element

Type

Description

Example

object

RequestId

string

Request ID.

0441BD79-92F3-53AA-8657-F8CE4A2B912A

TotalCount

integer

Total number of matched entries. The maximum number of entries returned in a single request is determined by pageSize.

100

Groups

array<object>

Account group list.

object

Account group object.

GroupId

string

Group ID.

group_d6sbsuumeta4h66ec3il7yxxxx

GroupName

string

Group name.

group_name

Description

string

Group description.

test group

GroupExternalId

string

Group external ID, used for association with external systems. Defaults to the account group ID.

group_d6sbsuumeta4h66ec3il7yxxxx

GroupSourceType

string

Group source type. Currently, only self-built is supported. Valid values:

  • build_in: self-built.

build_in

GroupSourceId

string

Group source ID. If created by importing from other sources, this is the external source ID. Defaults to the instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

CreateTime

integer

Group creation time in Unix timestamp format, in milliseconds.

1652085686179

UpdateTime

integer

Group last update time in Unix timestamp format, in milliseconds.

1652085686179

InstanceId

string

Instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

Examples

Success response

JSON format

{
  "RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
  "TotalCount": 100,
  "Groups": [
    {
      "GroupId": "group_d6sbsuumeta4h66ec3il7yxxxx",
      "GroupName": "group_name",
      "Description": "test group",
      "GroupExternalId": "group_d6sbsuumeta4h66ec3il7yxxxx",
      "GroupSourceType": "build_in",
      "GroupSourceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
      "CreateTime": 1652085686179,
      "UpdateTime": 1652085686179,
      "InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.