latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Organizations

User - Update Policy Mapping

Update the mapping of a given user directly to policies

put/setup/user/{userId}/policyMapping

Parameters

#/paths/~1setup~1user~1%7BuserId%7D/get/parameters/0 — unresolved $ref

Request body

Example request

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