SoulFire LogoSoulFire

Set account metadata entry

Sets a single persistent metadata entry for a Minecraft account. Creates the namespace and key if they don't exist, or updates if they do.

PUT
/v1/instances/:instance_id/accounts/:account_id/metadata/namespaces/:namespace/entries/:key

Sets a single persistent metadata entry for a Minecraft account. Creates the namespace and key if they don't exist, or updates if they do.

Authorization

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 containing the account.

account_id*string

The profile_id (UUID) of the Minecraft account.

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/accounts/:account_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?