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
requestCreateAgentRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
DeleteAsync(string, RequestOptions?, CancellationToken)
Delete an agent
WithRawResponseTask DeleteAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
ListAsync(ListAgentsRequestParameters, RequestOptions?, CancellationToken)
Get agents
Task<Pager<AgentResponseContent>> ListAsync(ListAgentsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestListAgentsRequestParametersoptionsRequestOptionscancellationTokenCancellationToken
Returns
ReadAsync(string, RequestOptions?, CancellationToken)
Get an agent
WithRawResponseTask<AgentResponseContent> ReadAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
UpdateAsync(string, PatchAgentRequestParameters, RequestOptions?, CancellationToken)
Update an agent
WithRawResponseTask<AgentResponseContent> UpdateAsync(string id, PatchAgentRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringrequestPatchAgentRequestParametersoptionsRequestOptionscancellationTokenCancellationToken