This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

ListAccountAssignments

1 - 1.4

get /v1/account-assignments

Description

get account assignment list

State ACTIVE (CURRENT)

VersionNot Before
1.4-

Parameters

TypeNameDescriptionSchemaDefault
querysize
optional
size
Example : 20
any of [integer, null]20
querypage
optional
page
Example : 0
any of [integer, null]0
querysort
optional
sort
Example : created_at:desc
any of [string, null]None
queryinstance_id
required
Instance ID
Example : ssoins-12345
stringNone
querytarget_account_id
required
Assigned Account ID
Example : 3265ab469f0d406d83073da3e11e7a6c
stringNone
querytarget_account_name
optional
Assigned Account Name
Example : Admin Account
any of [string, null]None
querytarget_account_email
optional
Assigned Account Email
Example : target_account@example.com
any of [string, null]None
querypermission_set_id
optional
Permission Set ID
Example : e8d4b9f2c1a7e5d3f0b6c9a2d8e4f7b1
any of [string, null]None
queryprincipal_name
optional
Principal Name
Example : GROUP0407
any of [string, null]None
queryrole_srn
optional
Role SRN
Example : srn:role:kr-j:1234:role/admin@example.com
any of [string, null]None

Responses

HTTP CodeDescriptionSchema
200OKAccountAssignmentsPageResponse
400Bad RequestNone
401UnauthorizedNone
403ForbiddenNone
404Not FoundNone

Example HTTP request

Request path

/v1/account-assignments?instance_id={instance_id}&target_account_id={target_account_id}

Request header

"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = iam-identity-center 1.4"

Example HTTP response

Response 200

{
    "account_assignments": [
        {
            "instance_id": "ssoins-12345",
            "permission_sets": [],
            "principal_id": "138c2fc8c29a449dbfa8681f8f1d78e2",
            "principal_name": "GROUP0407",
            "principal_type": "USER",
            "role_srn": "Permissions for administrators",
            "target_account_email": "target_account@example.com",
            "target_account_id": "3265ab469f0d406d83073da3e11e7a6c",
            "target_account_name": "Admin Account"
        }
    ],
    "count": 20,
    "page": 0,
    "size": 20,
    "sort": [
        "created_at:asc"
    ]
}

2 - 1.3

get /v1/account-assignments

Description

get account assignment list

State ACTIVE (SUPPORTED)

VersionNot Before
1.320261130

Parameters

TypeNameDescriptionSchemaDefault
querysize
optional
size
Example : 20
any of [integer, null]20
querypage
optional
page
Example : 0
any of [integer, null]0
querysort
optional
sort
Example : created_at:desc
any of [string, null]None
queryinstance_id
required
Instance ID
Example : ssoins-12345
stringNone
querytarget_account_id
required
Assigned Account ID
Example : 3265ab469f0d406d83073da3e11e7a6c
stringNone
querytarget_account_name
optional
Assigned Account Name
Example : Admin Account
any of [string, null]None
querytarget_account_email
optional
Assigned Account Email
Example : target_account@example.com
any of [string, null]None
querypermission_set_id
optional
Permission Set ID
Example : e8d4b9f2c1a7e5d3f0b6c9a2d8e4f7b1
any of [string, null]None
queryprincipal_name
optional
Principal Name
Example : GROUP0407
any of [string, null]None
queryrole_srn
optional
Role SRN
Example : srn:role:kr-j:1234:role/admin@example.com
any of [string, null]None

Responses

HTTP CodeDescriptionSchema
200OKAccountAssignmentsPageResponse
400Bad RequestNone
401UnauthorizedNone
403ForbiddenNone
404Not FoundNone

Example HTTP request

Request path

/v1/account-assignments?instance_id={instance_id}&target_account_id={target_account_id}

Request header

"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = iam-identity-center 1.3"

Example HTTP response

Response 200

{
    "account_assignments": [
        {
            "instance_id": "ssoins-12345",
            "permission_sets": [],
            "principal_id": "138c2fc8c29a449dbfa8681f8f1d78e2",
            "principal_name": "GROUP0407",
            "principal_type": "USER",
            "role_srn": "Permissions for administrators",
            "target_account_email": "target_account@example.com",
            "target_account_id": "3265ab469f0d406d83073da3e11e7a6c",
            "target_account_name": "Admin Account"
        }
    ],
    "count": 20,
    "page": 0,
    "size": 20,
    "sort": [
        "created_at:asc"
    ]
}

3 - 1.2

get /v1/account-assignments

Description

get account assignment list

State ACTIVE (SUPPORTED)

VersionNot Before
1.220260930

Parameters

TypeNameDescriptionSchemaDefault
querysize
optional
size
Example : 20
any of [integer, null]20
querypage
optional
page
Example : 0
any of [integer, null]0
querysort
optional
sort
Example : created_at:desc
any of [string, null]None
queryinstance_id
required
Instance ID
Example : ssoins-12345
stringNone
querytarget_account_id
required
Assigned Account ID
Example : 3265ab469f0d406d83073da3e11e7a6c
stringNone
querytarget_account_name
optional
Assigned Account Name
Example : Admin Account
any of [string, null]None
querytarget_account_email
optional
Assigned Account Email
Example : target_account@example.com
any of [string, null]None
querypermission_set_id
optional
Permission Set ID
Example : e8d4b9f2c1a7e5d3f0b6c9a2d8e4f7b1
any of [string, null]None
queryprincipal_name
optional
Principal Name
Example : GROUP0407
any of [string, null]None
queryrole_srn
optional
Role SRN
Example : srn:role:kr-j:1234:role/admin@example.com
any of [string, null]None

Responses

HTTP CodeDescriptionSchema
200OKAccountAssignmentsPageResponse
400Bad RequestNone
401UnauthorizedNone
403ForbiddenNone
404Not FoundNone

Example HTTP request

Request path

/v1/account-assignments?instance_id={instance_id}&target_account_id={target_account_id}

Request header

"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = iam-identity-center 1.2"

Example HTTP response

Response 200

{
    "account_assignments": [
        {
            "instance_id": "ssoins-12345",
            "permission_sets": [],
            "principal_id": "138c2fc8c29a449dbfa8681f8f1d78e2",
            "principal_name": "GROUP0407",
            "principal_type": "USER",
            "role_srn": "Permissions for administrators",
            "target_account_email": "target_account@example.com",
            "target_account_id": "3265ab469f0d406d83073da3e11e7a6c",
            "target_account_name": "Admin Account"
        }
    ],
    "count": 20,
    "page": 0,
    "size": 20,
    "sort": [
        "created_at:asc"
    ]
}

4 - 1.1

get /v1/account-assignments

Description

get account assignment list

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.120260531

Parameters

TypeNameDescriptionSchemaDefault
querysize
optional
size
Example : 20
any of [integer, null]20
querypage
optional
page
Example : 0
any of [integer, null]0
querysort
optional
sort
Example : created_at:desc
any of [string, null]None
queryinstance_id
required
Instance ID
Example : ssoins-12345
stringNone
querytarget_account_id
required
Assigned Account ID
Example : 3265ab469f0d406d83073da3e11e7a6c
stringNone
querytarget_account_name
optional
Assigned Account Name
Example : Admin Account
any of [string, null]None
querytarget_account_email
optional
Assigned Account Email
Example : target_account@example.com
any of [string, null]None
querypermission_set_id
optional
Permission Set ID
Example : e8d4b9f2c1a7e5d3f0b6c9a2d8e4f7b1
any of [string, null]None
queryprincipal_name
optional
Principal Name
Example : GROUP0407
any of [string, null]None
queryrole_srn
optional
Role SRN
Example : srn:role:kr-j:1234:role/admin@example.com
any of [string, null]None

Responses

HTTP CodeDescriptionSchema
200OKAccountAssignmentsPageResponse
400Bad RequestNone
401UnauthorizedNone
403ForbiddenNone
404Not FoundNone

Example HTTP request

Request path

/v1/account-assignments?instance_id={instance_id}&target_account_id={target_account_id}

Request header

"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = iam-identity-center 1.1"

Example HTTP response

Response 200

{
    "account_assignments": [
        {
            "instance_id": "ssoins-12345",
            "permission_sets": [],
            "principal_id": "138c2fc8c29a449dbfa8681f8f1d78e2",
            "principal_name": "GROUP0407",
            "principal_type": "USER",
            "role_srn": "Permissions for administrators",
            "target_account_email": "target_account@example.com",
            "target_account_id": "3265ab469f0d406d83073da3e11e7a6c",
            "target_account_name": "Admin Account"
        }
    ],
    "count": 20,
    "page": 0,
    "size": 20,
    "sort": [
        "created_at:asc"
    ]
}

5 - 1.0

get /v1/account-assignments

Description

get account assignment list

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260223

Parameters

TypeNameDescriptionSchemaDefault
querysize
optional
size
Example : 20
any of [integer, null]20
querypage
optional
page
Example : 0
any of [integer, null]0
querysort
optional
sort
Example : created_at:desc
any of [string, null]None
queryinstance_id
required
Instance ID
Example : ssoins-12345
stringNone
querytarget_account_id
required
Assigned Account ID
Example : 3265ab469f0d406d83073da3e11e7a6c
stringNone
querytarget_account_name
optional
Assigned Account Name
Example : Admin Account
any of [string, null]None
querytarget_account_email
optional
Assigned Account Email
Example : target_account@example.com
any of [string, null]None
querypermission_set_id
optional
Permission Set ID
Example : e8d4b9f2c1a7e5d3f0b6c9a2d8e4f7b1
any of [string, null]None
queryprincipal_name
optional
Principal Name
Example : GROUP0407
any of [string, null]None
queryrole_srn
optional
Role SRN
Example : srn:role:kr-j:1234:role/admin@example.com
any of [string, null]None

Responses

HTTP CodeDescriptionSchema
200OKAccountAssignmentsPageResponse
400Bad RequestNone
401UnauthorizedNone
403ForbiddenNone
404Not FoundNone

Example HTTP request

Request path

/v1/account-assignments?instance_id={instance_id}&target_account_id={target_account_id}

Request header

"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = iam-identity-center 1.0"

Example HTTP response

Response 200

{
    "account_assignments": [
        {
            "instance_id": "ssoins-12345",
            "permission_sets": [],
            "principal_id": "138c2fc8c29a449dbfa8681f8f1d78e2",
            "principal_name": "GROUP0407",
            "principal_type": "USER",
            "role_srn": "Permissions for administrators",
            "target_account_email": "target_account@example.com",
            "target_account_id": "3265ab469f0d406d83073da3e11e7a6c",
            "target_account_name": "Admin Account"
        }
    ],
    "count": 20,
    "page": 0,
    "size": 20,
    "sort": [
        "created_at:asc"
    ]
}