Delete User Preferences for Users

delete

/ic/api/process/v1/preferences/bulk

Delete user preferences for mulitple users. You must be an administrator to use this API.

Request

Supported Media Types
Body ()
PreferenceBulkDeleteRequest Object
Root Schema : preferencesResponse
Type: object
Show Source
Nested Schema : userPrefKeys
Type: array
Show Source
Nested Schema : users
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : preferencesResponse
Type: object
Show Source
Nested Schema : appPrefResponse
Type: object
Additional Properties Allowed
Show Source
Nested Schema : invalidUsers
Type: array
Show Source
Nested Schema : userPrefResponse
Type: object
Additional Properties Allowed
Show Source

400 Response

Bad request

401 Response

Unauthorized

500 Response

Internal Server Error
Back to Top

Examples

The following example shows how to delete user preferences for multiple users by submitting a DELETE request on the REST resource.

Example: Delete all user preferences for users htwain, jlondon

Send Request:

DELETE https://example.com/ic/api/process/v1/preferences/bulk

Request Body:

{
    "users" : ["htwain","jlondon"],
    "deleteAllUserPreferences" : true
}

Example: Delete specific user preferences for users htwain, hlondon

Send Request:

DELETE https://example.com/ic/api/process/v1/preferences/bulk

Request Body:

{
    "users" : ["htwain","jlondon"],
    "userPrefKeys" : ["VACATION_RULE","NOTIFICATION_TZ"]
}
Back to Top