Organizations

User Group - Update Policy Mapping

Update the mapping of a given user group to policies

put/setup/access/userGroup/{userGroupId}/policyMapping

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/setup/access/userGroup/{userGroupId}/policyMapping
  • Auth
    HTTP bearer

Parameters

#/paths/~1setup~1access~1userGroup~1%7BuserGroupId%7D/get/parameters/0 (unresolved $ref)

Request body

Example request

{
  "policies": [
    {
      "policyId": "pol-12345678",
      "accountIds": [
        "*"
      ]
    },
    {
      "policyId": "pol-87654321",
      "accountIds": [
        "act-12345678",
        "act-87654321"
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 12 revisions of this API.