Public Resource
User

Add a single user to a resource. When the resource has an inline policy defined (no shared resource policy assigned), the user is added to the inline policy instead of directly to the resource.

post/public-resource/{resourceId}/users/add

Request

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

Path parameters

resourceIdstring required

Request body

userIdstring 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.