This API deletes cards for a specified user from the MoEngage Cards database.
DELETE method, which is non-standard.Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
You must provide either 'uid' or 'unique_id'.
The unique_id refers to the device identifier and is platform-specific.
MoEngageSDKCore.getMoEngageDeviceId(completionHandler: @escaping UserInfoHandler)List of campaign IDs whose cards should be deleted for the user. In the case of a periodic campaign, if the campaign ID of the parent campaign is specified, the cards will get deleted for the child campaigns as well.
The uid is the unique MoEngage Standard ID (Email ID Standard or Mobile Number Standard) that identifies the user.
The unique_id is the platform-specific device identifier. Refer to Generating unique_id for details.
Specify platforms to delete cards from. If omitted, the cards specified for deletion will be deleted from all the platforms they are associated with. Allowed Values: ANDROID, IOS, WEB
ANDROID, IOS, WEB, android, ios, web This response is returned when the request is processed successfully.
This field represents whether the request was successful and contains true when the request was successful and false otherwise.
Unique identifier that denotes the request.
This field contains the platform-specific results of the delete operation.
This field is present in the response body only when the request is unsuccessful and contains the error type.
This field is present in the response body only when the request is unsuccessful and contains the error description.
This field is present in the response body only when the request is unsuccessful and contains the error code.
Error message if status is false.