Public Resource
Role

Set roles for a resource. This will replace all existing roles. When the resource has an inline policy defined (no shared resource policy assigned), roles are set on the inline policy instead of directly on the resource.

post/public-resource/{resourceId}/roles

Request

  • Base URL: https://api.pangolin.net/v1
  • URL: https://api.pangolin.net/v1/public-resource/{resourceId}/roles
  • Auth: HTTP bearer

Path parameters

resourceIdinteger required

Request body

roleIdsinteger[] required

Response

Successful response

dataobject nullable required
successboolean required
errorboolean required
messagestring required
statusnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.