# \AgentWorkersApi
All URIs are relative to */api*
[**blacklist_agent_token**](AgentWorkersApi.md#blacklist_agent_token) | **POST** /agent_workers/blacklist_token | blacklist agent token (requires super admin)
[**create_agent_token**](AgentWorkersApi.md#create_agent_token) | **POST** /agent_workers/create_agent_token | create agent token
[**get_min_version**](AgentWorkersApi.md#get_min_version) | **GET** /agent_workers/get_min_version | get minimum worker version across all workers
[**list_blacklisted_agent_tokens**](AgentWorkersApi.md#list_blacklisted_agent_tokens) | **GET** /agent_workers/list_blacklisted_tokens | list blacklisted agent tokens (requires super admin)
[**remove_blacklist_agent_token**](AgentWorkersApi.md#remove_blacklist_agent_token) | **POST** /agent_workers/remove_blacklist_token | remove agent token from blacklist (requires super admin)
## blacklist_agent_token
> blacklist_agent_token(blacklist_agent_token_request)
blacklist agent token (requires super admin)
### Parameters
**blacklist_agent_token_request** | [**BlacklistAgentTokenRequest**](BlacklistAgentTokenRequest.md) | token to blacklist | [required] |
### Return type
(empty response body)
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## create_agent_token
> String create_agent_token(create_agent_token_request)
create agent token
### Parameters
**create_agent_token_request** | [**CreateAgentTokenRequest**](CreateAgentTokenRequest.md) | agent token | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_min_version
> String get_min_version()
get minimum worker version across all workers
### Parameters
This endpoint does not need any parameter.
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_blacklisted_agent_tokens
> Vec<models::ListBlacklistedAgentTokens200ResponseInner> list_blacklisted_agent_tokens(include_expired)
list blacklisted agent tokens (requires super admin)
### Parameters
**include_expired** | Option<**bool**> | Whether to include expired blacklisted tokens | |[default to false]
### Return type
[**Vec<models::ListBlacklistedAgentTokens200ResponseInner>**](listBlacklistedAgentTokens_200_response_inner.md)
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## remove_blacklist_agent_token
> remove_blacklist_agent_token(remove_blacklist_agent_token_request)
remove agent token from blacklist (requires super admin)
### Parameters
**remove_blacklist_agent_token_request** | [**RemoveBlacklistAgentTokenRequest**](RemoveBlacklistAgentTokenRequest.md) | token to remove from blacklist | [required] |
### Return type
(empty response body)
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)