Skip to main content

Cancle Deployment (LoRA)

更新时间:2025-07-02 18:32:25
Cancel LoRA model deployment.
POST
https://api.alayanew.com/api/serverless-infer/v1/deployment/lora/{serviceId}/cancel
Authorizations
AuthorizationsStringHeaderRequired

用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。

Path Parameters
serviceIdString

Service ID.

Response
状态码:application/json
codeInt

The 'code' is a common return value format indicating the execution result of the query operation.

0 is the success indicator, meaning the operation completed successfully.
dataObject

msgString

Returns error information when the code value is -1.

curl --location --request POST 'https://api.alayanew.com/api/serverless-infer/v1/deployment/lora/38fbfc3d-6a88-4c35-b8b6-9efc83949d47/cancel' 
     --header 'Authorization:plain Credential=YOUR_AK,Signature=YOUR_SK' 
     --header 'Content-Type: application/json'
{
  "code": "0",
  "data": {
  },
  "msg": "optional,string,"
}