Organizations

User - Update User Group Mapping

Update the mapping of a given user to user groups

put/setup/user/{userId}/userGroupMapping

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/setup/user/{userId}/userGroupMapping
  • Auth
    HTTP bearer

Parameters

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

Request body

userGroupIdsstring[]

A list of the user groups to register the given user to (should be existing user groups only)

Example request

{
  "userGroupIds": [
    "ugr-12345678",
    "ugr-87654321"
  ]
}

Changes

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