...
Get an organization by email
Description
Get an organization by email.
Package Details
Interface
IOrganizationManager
Syntax
await _organizationManager.FindByEmail(string email);
Returns
Task<IEnumerable<Organization>>
API
GET
/api/v1/organizations?email={email}
Parameters
Parameter | Description | Parameter Type |
---|---|---|
The Email address associated to the organization | path |
Returns
200 OK - Organization
Example
Code Block |
---|
var email = "user@domain.com";
var organization = await _organizationManager.FindByEmail(email); |