Skip to main content
POST
TestPermissions

Authorizations

Authorization
string
header
required

A user session token or personal API key.

Headers

Connect-Protocol-Version
number
required

Define the version of the Connect protocol

Example:

1

Connect-Timeout-Ms
number

Define the timeout, in ms

Example:

1000

Body

application/json
resource
string

Canonical resource name (for example, volumes/{volume}) or account.

actions
string[]

Existing Cedar action identifiers applicable to this resource type.

Required array length: 1 - 100 elements
Required string length: 1 - 128

Response

Success

allowedActions
string[]

Allowed subset of the requested actions, in request order. This is not a grant, proof of resource existence, or guarantee that an operation succeeds.