pub async fn create_api_key(
user: AuthenticatedUser,
__arg1: State<AppState>,
__arg2: Json<CreateApiKeyRequest>,
) -> Result<impl IntoResponse, ApiError>Expand description
Create a new API key for the authenticated user.
ยงErrors
- 400 if the name is empty or scopes are invalid