Set instance metadata entry
Sets a single persistent metadata entry for the instance. Creates the namespace and key if they don't exist, or updates if they do.
Sets a single persistent metadata entry for the instance. Creates the namespace and key if they don't exist, or updates if they do.
AuthorizationBearer <token>
Preferred API authentication. Use a JWT with the api audience.
In: header
Path Parameters
instance_id*string
The unique identifier (UUID) of the instance.
Format
uuidnamespace*string
The namespace for the metadata entry.
key*string
The key for the metadata entry within the namespace.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request to set a single persistent metadata entry for an instance.
value*unknown
The value to set. Supports JSON value types.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/metadata/namespaces/string/entries/string" \ -H "Content-Type: application/json" \ -d '{ "value": null }'{}How is this page?
