Skip to main content

create_api_key

Function create_api_key 

Source
pub async fn create_api_key(
    __arg0: State<App>,
    tn_id: TnId,
    __arg2: IdTag,
    __arg3: OptionalRequestId,
    __arg4: Json<CreateApiKeyRequest>,
) -> ClResult<(StatusCode, Json<ApiResponse<CreatedApiKeyResponse>>)>
Expand description

POST /api/api-keys - Create a new API key for a specified identity