v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1442718.5 KB

Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the administrator of the account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/useraccess.html#assignusers">Assign User Access</a> in the <i>IAM Identity Center User Guide</i>. This operation returns a paginated response.

get/assignment/accounts#x-amz-sso_bearer_token

Query parameters

next_tokenstring

(Optional) When requesting subsequent pages, this is the page token from the previous response output.

max_resultinteger

This is the number of items clients can request per page.

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Headers

x-amz-sso_bearer_tokenstring password required

The token issued by the <code>CreateToken</code> API call. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html">CreateToken</a> in the <i>IAM Identity Center OIDC API Reference Guide</i>.

Response

Success

nextTokenstring

The page token client that is used to retrieve the list of accounts.