Create a cross account access

POST {{baseUrl}}/crossAccounts/:id/accesses

Create a cross account access. If the cross account is created for tenant and all subtenants (**), then this operation is implicitly handled and not allowed through API. Maximum 5 cross account accesses can be created with ENABLED status. Maximum 10 cross accounts can be created with DISABLED status.

Request Body

{"description"=>"<string>", "path"=>"/", "permission"=>"<string>", "status"=>"ENABLED"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;id&quot;:&quot;84bdbd45e64a28cb5f6467b590471bda&quot;,&quot;description&quot;:&quot;pariatur ad aute labore&quot;,&quot;storageAccount&quot;:&quot;dlbucketname&quot;,&quot;storagePath&quot;:&quot;data/ten=tenantname/myfolder/mysubfolder OR data/sub=subtenantId/myfolder/mysubfolder&quot;,&quot;permission&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&quot;:&quot;2019-01-29T19:14:37.273Z&quot;,&quot;eTag&quot;:1,&quot;path&quot;:&quot;myfolder/mysubfolder&quot;,&quot;status&quot;:&quot;DISABLED&quot;}