Update CVM name with RFC 1123 validation and availability check
cURL
curl --request PATCH \ --url https://cloud-api.phala.com/api/v1/cvms/{cvm_id}/name \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Successful Response
Was this page helpful?