DeleteModel
Delete an existing model based on the model ID.
DELETE
https://api.alayanew.com/api/model/v1/{modelId}
Authorizations
Authorizations:StringHeaderRequired
用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。
Path Parameters
modelId:StringRequired
Model ID.
Response
状态码:application/json
200
code:Int
Code is a common return value format indicating the result of the operation.
0
-1
0 is the success indicator, meaning the operation completed successfully.
cURL
Python
JavaScript
Go
Java
curl --location --request DELETE 'https://api.alayanew.com/api/model/v1/c486cdee-c316-4fc1-9f75-0d1741940f27'
--header 'Authorization:plain Credential=YOUR_AK,Signature=YOUR_SK'
--header 'Content-Type: application/json'
200
400
401
403
404
500
{
"code": 0
}