Bulk Content Remove Access
Removes content access from multiple users in a single request
Removes content access from multiple users in a single request.
POST
https://example.thoughtindustries.com/incoming/v2/users/bulkContentRemoveAccessExample request
curl -X POST "https://example.thoughtindustries.com/incoming/v2/users/bulkContentRemoveAccess" \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"users": []
}'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
users | BulkContentRemoveAccessUser[] | Yes | body | Array of user objects specifying the users and content from which access should be removed. |
Example response
{
"data": {
"APIBulkContentRemoveAccess": {
"updatedRecordCount": 0,
"errors": [
{
"id": "00000000-0000-0000-0000-000000000000",
"identifier": "string",
"error": "string",
"record": "string"
}
]
}
}
}Response fields
| Field | Type | Description |
|---|---|---|
updatedRecordCount | integer | Number of user records successfully updated. |
errors | BulkAssignmentUserError[] | Array of errors for any users whose access could not be removed. |
errors.id | uuid | Unique identifier of the user record that encountered an error. |
errors.identifier | string | External identifier or email address used to look up the user. |
errors.error | string | Human-readable message describing why the access removal failed for this user. |
errors.record | string | Raw record value associated with the failed entry, for debugging purposes. |