GoodMemGoodMem
ReferenceAPIREST APIAdmin

Transfer GoodMem instance ownership

Transfers the singleton GoodMem instance to another active human principal. Only the current instance owner may invoke this operation; ADMIN, MANAGE_ACCESS, and ordinary grants are insufficient. Ownership and the synthetic ROOT assignment move atomically. All ordinary roles, including ADMIN, remain unchanged. No credential is created or returned. After an unknown outcome, read the current owner before retrying.

POST
/v1/admin:transferInstanceOwnership
x-api-key<token>

In: header

Destination human owner principal

newOwnerIdstring

Existing principal UUID that will become the new owner.

Example"550e8400-e29b-41d4-a716-446655440000"
Formatuuid

Response Body

curl -X POST "https://loading/v1/admin:transferInstanceOwnership" \  -H "Content-Type: application/json" \  -d '{    "newOwnerId": "550e8400-e29b-41d4-a716-446655440000"  }'
{
  "instance": {
    "instanceId": "550e8400-e29b-41d4-a716-446655440000",
    "ownerId": "650e8400-e29b-41d4-a716-446655440001",
    "createdAt": 1651483320000,
    "updatedAt": 1651486920000,
    "createdById": "750e8400-e29b-41d4-a716-446655440002",
    "updatedById": "850e8400-e29b-41d4-a716-446655440003"
  }
}
Empty
Empty
Empty
Empty
Empty
Empty