Deployments
Update a deployment
Changed onRenames the deployment and its Platform URL slug, updates custom metadata, starts, stops, resizes, or rolls out another model. The Cloud Run service URL is preserved. Renaming invalidates existing Platform URL references, including calls from active workflows. The camera action saves an RTSP/RTSPS URL for always-on inference on a paid endpoint, or removes it with url null.
patch/api/deployments/{owner}/{deployment}
Request
- Base URLhttps://platform.ultralytics.com
- AuthHTTP bearer
Path parameters
ownerstring required
Example:ultralytics
Deployment owner
deploymentstring required
Example:yolo26-api
Deployment name
Request body
Example request
{
"project": "yolo26",
"model": "yolo26n"
}Response
Deployment updated
Changes
- warning
added the new
readyenum value to theresponse property for the response status - info
added
subschema #3to therequest propertyoneOflist
- warning
- info
added the optional property
to the response with the status
- info