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

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

Response fields

FieldTypeDescription
updatedRecordCountintegerNumber of records successfully updated.
invalidUserIdsuuid[]Identifiers from the request that did not correspond to valid dual-role managers.