v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-138134216.7 KB
objects

Tests a set of permissions on the given object to see which, if any, are held by the caller.

get/b/{bucket}/o/{object}/iam/testPermissions

Path parameters

bucketstring required

Name of the bucket in which the object resides.

objectstring required

Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.

Query parameters

permissionsstring[] required

Permissions to test.

generationstring

If present, selects a specific revision of this object (as opposed to the latest version, the default).

userProjectstring

The project to be billed for this request. Required for Requester Pays buckets.

Response

Successful response