Skip to main content

delete_api_key

Function delete_api_key 

Source
pub async fn delete_api_key(
    user: AuthenticatedUser,
    __arg1: State<AppState>,
    __arg2: Path<Uuid>,
) -> Result<impl IntoResponse, ApiError>
Expand description

Delete an API key owned by the authenticated user.

ยงErrors

  • 404 if the key does not exist or belongs to another user