Table of Contents

Interface IAccountAccessCollectionResource

Namespace
Mailtrap.AccountAccesses
Assembly
Mailtrap.Abstractions.dll

Represents account access collection resource.

public interface IAccountAccessCollectionResource : IRestResource
Inherited Members

Methods

Fetch(AccountAccessFilter?, CancellationToken)

Gets a collection of account accesses for which specifier_type is User or Invite.

Task<IList<AccountAccess>> Fetch(AccountAccessFilter? filter = null, CancellationToken cancellationToken = default)

Parameters

filter AccountAccessFilter

A set of filtering parameters.

cancellationToken CancellationToken

Token to control operation cancellation.

Returns

Task<IList<AccountAccess>>

Collection of account accesses with their permissions.

Remarks

You must have account admin/owner permissions for this endpoint to work.

If you specify Domain IDs, Project IDs or Inbox IDs in filter, the endpoint will return account accesses for these resources.