Interface IPermissionsResource
- Namespace
- Mailtrap.Permissions
- Assembly
- Mailtrap.Abstractions.dll
Represents account permissions resource.
public interface IPermissionsResource : IRestResource
- Inherited Members
Methods
GetAll(CancellationToken)
Get all resources in your account (Inboxes, Projects, Domains, Billing and Account itself) to which the API token has admin access.
Task<IList<ResourcePermissions>> GetAll(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenToken to control operation cancellation.
Returns
- Task<IList<ResourcePermissions>>
Collection of resources with their permission levels.