Interface ISuppressionResource
- Namespace
- Mailtrap.Suppressions
- Assembly
- Mailtrap.Abstractions.dll
Represents suppression resource.
public interface ISuppressionResource : IRestResource
- Inherited Members
Methods
Delete(CancellationToken)
Deletes a suppression, represented by the current resource instance.
Task<Suppression> Delete(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenToken to control operation cancellation.
Returns
- Task<Suppression>
Deleted suppression details.
Remarks
After deletion, the system will no longer prevent sending to this email unless it's recorded in suppressions again.