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
Key | Datatype | Required | Description |
---|---|---|---|
page | number | Specifies the requested page index | |
size | number | Specifies the number of elements in a page | |
filter | string | JSON-based filter expression. Supported values: 'subtenantId'. Supported operations: 'eq'. Decoded example value: |
{ "subtenantId": "204a896c-a23a-11e9-a2a3-2a2ae2dbcce4" }
|
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"crossAccounts":[{"id":"046ae0b53309078f16a8d637de087a45","name":"velit Lorem qui laboris","accessorAccountId":"960768132345","description":"proident laborum","timestamp":"2019-09-06T21:23:32.000Z","eTag":1,"subtenantId":"204a896c-a23a-11e9-a2a3-2a2ae2dbcce4"},{"id":"929c8f7e66ecb12e61ad347a3ca09e14","name":"laborum ullamco deserunt","accessorAccountId":"960768132345","description":"ex dolore aliqua pariatur","timestamp":"2019-09-06T21:23:32.000Z","eTag":1,"subtenantId":"204a896c-a23a-11e9-a2a3-2a2ae2dbcce4"}],"page":{"size":-51312218,"totalElements":23377964,"totalPages":55716926,"number":-76877825}}