Python
import requests url = "https://api.opper.ai/v2/models/aliases/{alias_id}" headers = {"Authorization": "Bearer <token>"} response = requests.delete(url, headers=headers) print(response.text)
{ "detail": "The request is invalid", "type": "BadRequestError", "message": "The request is invalid" }
Delete a model alias.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the model alias to delete
Successful Response