Endpoints
Delete Api Key
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.
DELETE
/
keys
/
{key_prefix}
Authorizations
Authorization
string
headerrequiredPath Parameters
key_prefix
string
requiredResponse
200 - application/json
The response is of type object
.
Was this page helpful?