Method LeaveAdmin
| Improve this Doc View SourceLeaveAdmin(LeaveAdminForm, CancellationToken)
Leaves admin role.
Declaration
public Task<GetSiteResponse> LeaveAdmin(LeaveAdminForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
LeaveAdminForm | form | The form to send for leaving the admin role. |
CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
Type | Description |
---|---|
Task<GetSiteResponse> | The task object representing the asynchronous operation. The task result contains the response after leaving the admin role. |