Table of Contents

Interface IAgentsClient

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
public interface IAgentsClient
Extension Methods

Methods

CreateAsync(CreateAgentRequestContent, RequestOptions?, CancellationToken)

Create an agent

WithRawResponseTask<AgentResponseContent> CreateAsync(CreateAgentRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request CreateAgentRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<AgentResponseContent>

DeleteAsync(string, RequestOptions?, CancellationToken)

Delete an agent

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

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask

ListAsync(ListAgentsRequestParameters, RequestOptions?, CancellationToken)

Get agents

Task<Pager<AgentResponseContent>> ListAsync(ListAgentsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request ListAgentsRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<AgentResponseContent>>

ReadAsync(string, RequestOptions?, CancellationToken)

Get an agent

WithRawResponseTask<AgentResponseContent> ReadAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<AgentResponseContent>

UpdateAsync(string, PatchAgentRequestParameters, RequestOptions?, CancellationToken)

Update an agent

WithRawResponseTask<AgentResponseContent> UpdateAsync(string id, PatchAgentRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request PatchAgentRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<AgentResponseContent>