Table of Contents

Interface IAccountCollectionResource

Namespace
Mailtrap.Accounts
Assembly
Mailtrap.Abstractions.dll

Represents account collection resource.

public interface IAccountCollectionResource : IRestResource
Inherited Members

Methods

GetAll(CancellationToken)

Gets details of all accounts to which the API token has access.

Task<IList<Account>> GetAll(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Token to control operation cancellation.

Returns

Task<IList<Account>>

Collection of accounts details.