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

Bulk Content Remove Access

Removes content access from multiple users in a single request

Removes content access from multiple users in a single request.

POSThttps://example.thoughtindustries.com/incoming/v2/users/bulkContentRemoveAccess

Example 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

NameTypeRequiredLocationDescription
usersBulkContentRemoveAccessUser[]YesbodyArray 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

FieldTypeDescription
updatedRecordCountintegerNumber of user records successfully updated.
errorsBulkAssignmentUserError[]Array of errors for any users whose access could not be removed.
errors.iduuidUnique identifier of the user record that encountered an error.
errors.identifierstringExternal identifier or email address used to look up the user.
errors.errorstringHuman-readable message describing why the access removal failed for this user.
errors.recordstringRaw record value associated with the failed entry, for debugging purposes.