Skip to main content
https://.thoughtindustries.com

Bulk Remove Dual Role Manager

Removes the dual-role manager designation from one or more users in bulk. Returns a count of updated records and a list of any user IDs that could not be processed

Removes the dual-role manager designation from one or more users in bulk. Returns a count of updated records and a list of any user IDs that could not be processed.

PUThttps://example.thoughtindustries.com/incoming/v2/users/bulkRemoveDualRoleManager

Example request

curl -X PUT "https://example.thoughtindustries.com/incoming/v2/users/bulkRemoveDualRoleManager" \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "userIds": "00000000-0000-0000-0000-000000000000"
}'

Parameters

NameTypeRequiredLocationDescription
userIdsuuid[]YesbodyOne or more user UUIDs identifying the users whose dual-role manager status should be removed.

Example response

{
  "data": {
    "APIBulkRemoveDualRoleManager": {
      "updatedRecordCount": 0,
      "invalidUserIds": [
        "00000000-0000-0000-0000-000000000000"
      ]
    }
  }
}

Response fields

FieldTypeDescription
updatedRecordCountintegerThe number of user records successfully updated.
invalidUserIdsuuid[]User UUIDs from the request that could not be found or updated.