Interface IMailtrapOrganizationClient
- Namespace
- Mailtrap
- Assembly
- Mailtrap.Abstractions.dll
Mailtrap organization-scoped API client.
public interface IMailtrapOrganizationClient : IRestResource
- Inherited Members
Remarks
Exposes organization-level operations such as managing sub accounts.
Organization-scoped endpoints live under /api/organizations/{organization_id}/...
and require token permissions for the targeted organization.
Methods
Organization(long)
Gets resource for specific organization, identified by organizationId.
IOrganizationResource Organization(long organizationId)
Parameters
organizationIdlongID of organization to get resource for.
Returns
- IOrganizationResource
Resource for the organization with specified ID.
Exceptions
- ArgumentOutOfRangeException
When
organizationIdis less than or equal to zero.