Refresh Minecraft account
Refreshes the authentication tokens for an existing Minecraft account. Used to renew expired access tokens using stored refresh tokens. For Microsoft accounts, this refreshes the Minecraft token, profile, and player certificates. For offline accounts, returns the account unchanged (offline accounts never expire).
Refreshes the authentication tokens for an existing Minecraft account. Used to renew expired access tokens using stored refresh tokens.
For Microsoft accounts, this refreshes the Minecraft token, profile, and player certificates. For offline accounts, returns the account unchanged (offline accounts never expire).
Preferred API authentication. Use a JWT with the api audience.
In: header
Path Parameters
The UUID of the SoulFire instance context for the refresh operation. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://127.0.0.1:38765/v1/instances/p0/mc-auth:refresh" \ -H "Content-Type: application/json" \ -d '{}'{
"account": {
"type": "MICROSOFT_JAVA_CREDENTIALS",
"profile_id": "string",
"last_known_name": "string",
"online_chain_java_data": {
"auth_chain": {
"fields": {
"property1": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
]
}
},
"property2": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
]
}
}
}
}
},
"offline_java_data": {},
"bedrock_data": {
"auth_chain": {
"fields": {
"property1": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
]
}
},
"property2": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
]
}
}
}
}
},
"online_simple_java_data": {
"access_token": "string",
"expire_time_ms": 0
},
"config": [
{
"namespace": "string",
"entries": [
{
"key": "string",
"value": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {
"property1": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
]
}
},
"property2": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
]
}
}
}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {
"property1": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
},
"property2": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
}
},
"list_value": {
"values": []
}
}
]
}
}
}
]
}
],
"persistent_metadata": [
{
"namespace": "string",
"entries": [
{
"key": "string",
"value": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {
"property1": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
]
}
},
"property2": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
]
}
}
}
},
"list_value": {
"values": [
{
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {
"property1": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
},
"property2": {
"null_value": "NULL_VALUE",
"number_value": 0.1,
"string_value": "string",
"bool_value": true,
"struct_value": {
"fields": {}
},
"list_value": {
"values": []
}
}
}
},
"list_value": {
"values": []
}
}
]
}
}
}
]
}
]
}
}{
"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?
Get log history POST
Retrieves historical log entries from the server's in-memory log buffer. The server maintains a rolling buffer of the last 300 log entries. Only returns non-personal logs that match the specified scope.
Get instance metrics GET
Returns time-series metrics and current distributions for an instance. Supports incremental fetching via the "since" parameter.