Delete Api Key
DELETE/keys/:key_prefix
Delete an API key with the given key prefix for the authenticated user.
Args: key_prefix (str): The prefix of the API key to be deleted. request (Request): The incoming request object.
Returns: dict: A dictionary containing a success message upon successful deletion.
Raises: HTTPException: If the API key is not found or does not belong to the user.
Request
Responses
- 200
- 422
Successful Response
Validation Error