Updated on 2025-10-24 GMT+08:00

Creating a Baseline Interface

Function

Baseline data preconfiguration interface

URI

POST /v1/internal/rgc/baseline

Request Parameters

Table 1 Request body parameters

Parameter

Mandatory

Type

Description

version

Yes

String

Baseline Version

agencies

Yes

Array of agency objects

identity

Yes

identity object

manage_special

Yes

manage_special object

organizations

Yes

Array of organization objects

Table 2 identity

Parameter

Mandatory

Type

Description

permission_sets

Yes

Array of permissionSet objects

groups

Yes

Array of group objects

Table 3 permissionSet

Parameter

Mandatory

Type

Description

permission_set_name

Yes

String

description_zh

Yes

String

description_en

Yes

String

policies_name

Yes

Array of strings

Table 4 group

Parameter

Mandatory

Type

Description

group_name

Yes

String

description_zh

No

String

description_en

No

String

Table 5 manage_special

Parameter

Mandatory

Type

Description

agencies

Yes

Array of agency objects

Table 6 agency

Parameter

Mandatory

Type

Description

agency_type

Yes

String

agency_name

Yes

String

principal_type

Yes

String

principal

Yes

String

agency_policy

No

Array of strings

Table 7 organization

Parameter

Mandatory

Type

Description

organization_name

Yes

String

organization_type

Yes

String

controls

Yes

Array of strings

resources

Yes

Array of strings

accounts

Yes

Array of account objects

Table 8 account

Parameter

Mandatory

Type

Description

account_name

Yes

String

account_type

Yes

String

controls

Yes

Array of strings

resources

Yes

Array of strings

identity_infos

Yes

identity_infos object

Table 9 identity_infos

Parameter

Mandatory

Type

Description

allocated_users

Yes

Array of strings

attach_groups

Yes

Array of strings

allocated_groups

Yes

Array of allocatedGroups objects

Table 10 allocatedGroups

Parameter

Mandatory

Type

Description

group_name

Yes

String

permission_set_name

No

String

Response Parameters

Status code: 200

Table 11 Response body parameters

Parameter

Type

Description

baseline

BaselineBody object

Parameters in the preset baseline template

create_time

String

Table 12 BaselineBody

Parameter

Type

Description

version

String

Baseline Version

agencies

Array of agency objects

identity

identity object

manage_special

manage_special object

organizations

Array of organization objects

Table 13 identity

Parameter

Type

Description

permission_sets

Array of permissionSet objects

groups

Array of group objects

Table 14 permissionSet

Parameter

Type

Description

permission_set_name

String

description_zh

String

description_en

String

policies_name

Array of strings

Table 15 group

Parameter

Type

Description

group_name

String

description_zh

String

description_en

String

Table 16 manage_special

Parameter

Type

Description

agencies

Array of agency objects

Table 17 agency

Parameter

Type

Description

agency_type

String

agency_name

String

principal_type

String

principal

String

agency_policy

Array of strings

Table 18 organization

Parameter

Type

Description

organization_name

String

organization_type

String

controls

Array of strings

resources

Array of strings

accounts

Array of account objects

Table 19 account

Parameter

Type

Description

account_name

String

account_type

String

controls

Array of strings

resources

Array of strings

identity_infos

identity_infos object

Table 20 identity_infos

Parameter

Type

Description

allocated_users

Array of strings

attach_groups

Array of strings

allocated_groups

Array of allocatedGroups objects

Table 21 allocatedGroups

Parameter

Type

Description

group_name

String

permission_set_name

String

Example Requests

None

Example Responses

Status code: 200

The request is sent successfully.

{
  "update_time" : "string"
}

Status Codes

Status Code

Description

200

The request is sent successfully.

Error Codes

See Error Codes.