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.
PUT
https://example.thoughtindustries.com/incoming/v2/users/bulkRemoveDualRoleManagerExample 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
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
userIds | uuid[] | Yes | body | One 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
| Field | Type | Description |
|---|---|---|
updatedRecordCount | integer | The number of user records successfully updated. |
invalidUserIds | uuid[] | User UUIDs from the request that could not be found or updated. |