Settings
View as Markdown

Update tenant settings

No API key can call this route. It needs a signed-in dashboard user with the right role; a key answers 403. About scopes

PATCH
/api/v1/settings

Authorization

Authorization
Required
Bearer <token>

An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).

In: header

Request Body

application/jsonOptional

namestring

Minimum length: 1Maximum length: 200

timezonestring

Minimum length: 1Maximum length: 64

invoice_prefixstring

Minimum length: 1Maximum length: 20

settingsobject

Replaces the settings blob wholesale.

curl -X PATCH "https://globalymint.com/api/v1/settings" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "timezone": "string",
    "invoice_prefix": "string",
    "settings": {
      "property1": null,
      "property2": null
    }
  }'

The updated tenant profile.

{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "string",
    "slug": "string",
    "timezone": "string",
    "tier": "free",
    "invoicePrefix": "string",
    "status": "active",
    "settings": {
      "property1": null,
      "property2": null
    },
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  },
  "_agent": {
    "summary": "string",
    "status": "ok",
    "next_actions": [
      "string"
    ],
    "warnings": [
      "string"
    ]
  },
  "api_version": "2026-07-01"
}