Table of Contents

Interface IDiscoveryDomainsClient

Namespace
Auth0.ManagementApi.Organizations
Assembly
Auth0.ManagementApi.dll
public interface IDiscoveryDomainsClient
Extension Methods

Methods

CreateAsync(string, CreateOrganizationDiscoveryDomainRequestContent, RequestOptions?, CancellationToken)

Create a new discovery domain for an organization.

WithRawResponseTask<CreateOrganizationDiscoveryDomainResponseContent> CreateAsync(string id, CreateOrganizationDiscoveryDomainRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request CreateOrganizationDiscoveryDomainRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<CreateOrganizationDiscoveryDomainResponseContent>

DeleteAsync(string, string, RequestOptions?, CancellationToken)

Remove a discovery domain from an organization. This action cannot be undone.

Task DeleteAsync(string id, string discoveryDomainId, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
discoveryDomainId string
options RequestOptions
cancellationToken CancellationToken

Returns

Task

GetAsync(string, string, RequestOptions?, CancellationToken)

Retrieve details about a single organization discovery domain specified by ID. This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.

WithRawResponseTask<GetOrganizationDiscoveryDomainResponseContent> GetAsync(string id, string discoveryDomainId, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
discoveryDomainId string
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetOrganizationDiscoveryDomainResponseContent>

GetByNameAsync(string, string, RequestOptions?, CancellationToken)

Retrieve details about a single organization discovery domain specified by domain name. This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.

WithRawResponseTask<GetOrganizationDiscoveryDomainByNameResponseContent> GetByNameAsync(string id, string discoveryDomain, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
discoveryDomain string
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetOrganizationDiscoveryDomainByNameResponseContent>

ListAsync(string, ListOrganizationDiscoveryDomainsRequestParameters, RequestOptions?, CancellationToken)

Retrieve list of all organization discovery domains associated with the specified organization. This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.

Task<Pager<OrganizationDiscoveryDomain>> ListAsync(string id, ListOrganizationDiscoveryDomainsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request ListOrganizationDiscoveryDomainsRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<OrganizationDiscoveryDomain>>

UpdateAsync(string, string, UpdateOrganizationDiscoveryDomainRequestContent, RequestOptions?, CancellationToken)

Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The status field must be either pending or verified. The use_for_organization_discovery field can be true or false (default: true).

WithRawResponseTask<UpdateOrganizationDiscoveryDomainResponseContent> UpdateAsync(string id, string discoveryDomainId, UpdateOrganizationDiscoveryDomainRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
discoveryDomainId string
request UpdateOrganizationDiscoveryDomainRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<UpdateOrganizationDiscoveryDomainResponseContent>