RgwRolePolicy

Attach RGW role policy

Changed on
    Attach a permission policy document to the specified role.
    
post/api/rgw/accounts/{account_id}/roles/{role_name}/policy

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/rgw/accounts/{account_id}/roles/{role_name}/policy
  • Auth
    HTTP bearer

Path parameters

role_namestring required

Role name

account_idstring required

Account id

Request body

policy_docstring required

Policy document JSON

policy_namestring required

Policy name

Response

Resource created.

object required

Changes