Skip to main content

create_api_key

Function create_api_key 

Source
pub async fn create_api_key(
    __arg0: State<App>,
    __arg1: Auth,
    __arg2: OptionalRequestId,
    __arg3: Json<CreateApiKeyReq>,
) -> ClResult<(StatusCode, Json<ApiResponse<CreateApiKeyRes>>)>
Expand description

POST /api/auth/api-keys - Create a new API key