v1

latestOpenAPI 3.0.32026-07-2647121109.1 KB
CWObject

Check authorization

Checks whether the caller is allowed to perform a set of actions on a set of resources.

post/v1/cwobject/auth/can-i

Request body

actionsstring[]

The list of actions to check (for example, cwobject:ListBucketInfo).

resourcesstring[]

The list of resources to check the actions against. Use ["*"] to check against every resource.

Response

OK

verdictboolean

true only if the caller is allowed to perform every requested action on every requested resource; false otherwise.