Update a cross account access

PATCH {{baseUrl}}/crossAccounts/:id/accesses/:accessId

Update a cross account access. This operation is not allowed when the cross account is created for special case of tenant and all subtenants (**). Maximum 5 cross account accesses can be present with ENABLED status. Maximum 10 cross accounts can be present with DISABLED status.

Request Body

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

HEADERS

KeyDatatypeRequiredDescription
If-Matchstring(Required) ETag of the resource
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&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;}