Update instance metadata
Это руководство доступно только на английском.
Полезна ли эта страница?
Это руководство доступно только на английском.
Полезна ли эта страница?
Updates instance metadata (friendly name or icon). Only one field can be updated per request.
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
id*stringThe unique identifier (UUID) of the instance to update.
uuidapplication/jsonRequest to update instance metadata (name or icon).
friendlyName?stringNew human-readable name for the instance.
icon?stringNew icon identifier for the instance.
Response after successfully updating instance metadata.
application/jsonResponse after successfully updating instance metadata. Empty response indicates success.
curl -X PATCH 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/meta' \ -H 'Content-Type: application/json' \ -d '{}'{}curl -X PATCH 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/meta' \
-H 'Content-Type: application/json' \
-d '{}'{}