Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get an organization by email

Description

Get an organization by email.

Package Details

Interface

IOrganizationManager

Syntax

await _organizationManagerOrganizationManager.FindByEmail(string email)

Returns

Task<IEnumerable<Organization>>

API

GET
/api/v1/organizations?email={email}

Parameters

Parameter

Description

Parameter Type

email

The Email address associated to the organization

pathQuery string

Returns

200 OK - OrganizationOn success, 200 Ok

When the specified email is not found, 404 Not Found

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

Code Block
languagec#
var email = "user@domain.com";
var organization = await _organizationManager.FindByEmail(email);

...