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.
namespace*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.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "http://127.0.0.1:38765/v1/instances/:instance_id/metadata/namespaces/:namespace/entries/:key" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}How is this page?