Get a list of cross accounts

GET {{baseUrl}}/crossAccounts?page=0&size=10&filter=<string>

Get list of cross accounts on which access was given. * If requester is tenant, all the cross account for the tenant as well as its all subtenants are returned. * If requester is a subtenant, all the cross accounts for the subtenant are returned. * If tenant wants to filter results for a particular subtenant, filter query parameter subtenantId can be used. This filter query parameter is applicable only if the requester is tenant.

Request Params

KeyDatatypeRequiredDescription
pagenumberSpecifies the requested page index
sizenumberSpecifies the number of elements in a page
filterstringJSON-based filter expression. Supported values: 'subtenantId'. Supported operations: 'eq'. Decoded example value:
{ &quot;subtenantId&quot;: &quot;204a896c-a23a-11e9-a2a3-2a2ae2dbcce4&quot; }

|

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;crossAccounts&quot;:[{&quot;id&quot;:&quot;046ae0b53309078f16a8d637de087a45&quot;,&quot;name&quot;:&quot;velit Lorem qui laboris&quot;,&quot;accessorAccountId&quot;:&quot;960768132345&quot;,&quot;description&quot;:&quot;proident laborum&quot;,&quot;timestamp&quot;:&quot;2019-09-06T21:23:32.000Z&quot;,&quot;eTag&quot;:1,&quot;subtenantId&quot;:&quot;204a896c-a23a-11e9-a2a3-2a2ae2dbcce4&quot;},{&quot;id&quot;:&quot;929c8f7e66ecb12e61ad347a3ca09e14&quot;,&quot;name&quot;:&quot;laborum ullamco deserunt&quot;,&quot;accessorAccountId&quot;:&quot;960768132345&quot;,&quot;description&quot;:&quot;ex dolore aliqua pariatur&quot;,&quot;timestamp&quot;:&quot;2019-09-06T21:23:32.000Z&quot;,&quot;eTag&quot;:1,&quot;subtenantId&quot;:&quot;204a896c-a23a-11e9-a2a3-2a2ae2dbcce4&quot;}],&quot;page&quot;:{&quot;size&quot;:-51312218,&quot;totalElements&quot;:23377964,&quot;totalPages&quot;:55716926,&quot;number&quot;:-76877825}}