> For the complete documentation index, see [llms.txt](https://docs.thewalletcrew.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thewalletcrew.io/api-reference/internal/tenant-settings/config.md). Agents can also search and read this documentation through its [MCP server](https://docs.thewalletcrew.io/~gitbook/mcp).

# Config

## Get tenant configuration

> Core settings the admin console loads on startup.

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"tags":[{"name":"Config"}],"servers":[{"url":"https://api.thewalletcrew.io","description":"Production Server"},{"url":"https://api-qa.thewalletcrew.io","description":"Staging Server"}],"security":[{"admin-bearer":["tenant.core:read"]},{"apiKey":[]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}},"schemas":{"TenantConfigWeb":{"required":["availableLanguages","defaultLanguage","extensions","favicons","name","publicUri"],"type":"object","properties":{"name":{"minLength":1,"type":"string","description":"Tenant display name. Read-only."},"favicons":{"description":"Favicon as displayed, plus the stored paths for editing.","$ref":"#/components/schemas/TenantConfigFaviconsWeb"},"logoUrl":{"type":["null","string"],"description":"Logo URL; null when none."},"appTitle":{"type":["null","string"],"description":"Browser title replacing the default; null when none."},"status":{"description":"Lifecycle status; null when none.","$ref":"#/components/schemas/TenantStatus"},"purpose":{"description":"Tenant purpose; null when none.","$ref":"#/components/schemas/TenantPurpose"},"publicUri":{"minLength":1,"type":"string","description":"Absolute base address holders are sent to (enrolment links, e-mails, QR codes): the `publicUri` when set, otherwise the platform address."},"defaultLanguage":{"minLength":1,"type":"string","description":"Fallback language, one of `availableLanguages`. `en` when none is configured."},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"Language codes the content is offered in. `[\"en\"]` when none is configured."},"extensions":{"type":"array","items":{"type":"string"},"description":"Enabled extensions; empty when none."}},"additionalProperties":false,"description":"Tenant configuration."},"TenantConfigFaviconsWeb":{"required":["rawFaviconUrl"],"type":"object","properties":{"faviconUrl":{"type":["null","string"],"description":"Absolute URL of the large (192x192) favicon; a warning icon `data:` URL when none is available."},"rawFaviconUrl":{"minLength":1,"type":"string","description":"Small (48x48) favicon URL as configured."},"rawLargeFaviconUrl":{"type":["null","string"],"description":"Large (192x192) favicon URL as configured; null when none."},"rawAppleFaviconUrl":{"type":["null","string"],"description":"Apple touch icon (180x180) URL as configured; null when none."}},"additionalProperties":false,"description":"Favicon URLs."},"TenantStatus":{"enum":["onboarding","active","disabled"],"type":"string","description":"Lifecycle stage of the tenant. Only `disabled` changes what the platform does; the other two values\nare labels."},"TenantPurpose":{"enum":["demo","test","production"],"type":"string","description":"What the tenant is used for. A label for the tenant directory and reporting: no runtime behaviour depends\non it."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"paths":{"/api/{tenantId}/admin/config":{"get":{"tags":["Config"],"summary":"Get tenant configuration","description":"Core settings the admin console loads on startup.","parameters":[{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Configuration returned.","content":{"text/plain":{"schema":{"description":"Tenant configuration.","$ref":"#/components/schemas/TenantConfigWeb"}},"application/json":{"schema":{"description":"Tenant configuration.","$ref":"#/components/schemas/TenantConfigWeb"}},"text/json":{"schema":{"description":"Tenant configuration.","$ref":"#/components/schemas/TenantConfigWeb"}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"403":{"description":"The caller lacks the `tenant.core:read` scope.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"404":{"description":"The tenant does not exist.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"429":{"description":"Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after `Retry-After`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when the limiter knows it.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}}}
```

## Update tenant configuration

> Sent as \`multipart/form-data\`, up to 8 MB. Omitted fields keep their value. Status and purpose can only be changed by global administrators.\
> An uploaded favicon replaces its slot and overrides any URL sent for it. Removing a language from \`availableLanguages\` deletes all the tenant's translations in that language.

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"tags":[{"name":"Config"}],"servers":[{"url":"https://api.thewalletcrew.io","description":"Production Server"},{"url":"https://api-qa.thewalletcrew.io","description":"Staging Server"}],"security":[{"admin-bearer":["tenant.configuration.general:write"]},{"apiKey":[]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}},"schemas":{"TenantStatus":{"enum":["onboarding","active","disabled"],"type":"string","description":"Lifecycle stage of the tenant. Only `disabled` changes what the platform does; the other two values\nare labels."},"TenantPurpose":{"enum":["demo","test","production"],"type":"string","description":"What the tenant is used for. A label for the tenant directory and reporting: no runtime behaviour depends\non it."},"TenantConfigWeb":{"required":["availableLanguages","defaultLanguage","extensions","favicons","name","publicUri"],"type":"object","properties":{"name":{"minLength":1,"type":"string","description":"Tenant display name. Read-only."},"favicons":{"description":"Favicon as displayed, plus the stored paths for editing.","$ref":"#/components/schemas/TenantConfigFaviconsWeb"},"logoUrl":{"type":["null","string"],"description":"Logo URL; null when none."},"appTitle":{"type":["null","string"],"description":"Browser title replacing the default; null when none."},"status":{"description":"Lifecycle status; null when none.","$ref":"#/components/schemas/TenantStatus"},"purpose":{"description":"Tenant purpose; null when none.","$ref":"#/components/schemas/TenantPurpose"},"publicUri":{"minLength":1,"type":"string","description":"Absolute base address holders are sent to (enrolment links, e-mails, QR codes): the `publicUri` when set, otherwise the platform address."},"defaultLanguage":{"minLength":1,"type":"string","description":"Fallback language, one of `availableLanguages`. `en` when none is configured."},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"Language codes the content is offered in. `[\"en\"]` when none is configured."},"extensions":{"type":"array","items":{"type":"string"},"description":"Enabled extensions; empty when none."}},"additionalProperties":false,"description":"Tenant configuration."},"TenantConfigFaviconsWeb":{"required":["rawFaviconUrl"],"type":"object","properties":{"faviconUrl":{"type":["null","string"],"description":"Absolute URL of the large (192x192) favicon; a warning icon `data:` URL when none is available."},"rawFaviconUrl":{"minLength":1,"type":"string","description":"Small (48x48) favicon URL as configured."},"rawLargeFaviconUrl":{"type":["null","string"],"description":"Large (192x192) favicon URL as configured; null when none."},"rawAppleFaviconUrl":{"type":["null","string"],"description":"Apple touch icon (180x180) URL as configured; null when none."}},"additionalProperties":false,"description":"Favicon URLs."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"paths":{"/api/{tenantId}/admin/config":{"patch":{"tags":["Config"],"summary":"Update tenant configuration","description":"Sent as `multipart/form-data`, up to 8 MB. Omitted fields keep their value. Status and purpose can only be changed by global administrators.\nAn uploaded favicon replaces its slot and overrides any URL sent for it. Removing a language from `availableLanguages` deletes all the tenant's translations in that language.","parameters":[{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"LogoUrl":{"type":"string","description":"Logo URL. Omitted or empty keeps the current value; cannot be cleared."},"FaviconUrl":{"type":"string","description":"Small (48x48) favicon URL. Omitted or empty keeps the current value. Ignored when `favicon` is sent."},"LargeFaviconUrl":{"type":"string","description":"Large (192x192) favicon URL. Empty clears it. Ignored when `largeFavicon` is sent."},"AppleFaviconUrl":{"type":"string","description":"Apple touch icon (180x180) URL. Empty clears it. Ignored when `appleFavicon` is sent."},"Favicon":{"type":"string","description":"Small (48x48) favicon file: non-empty, `.png`, `.jpg`, `.jpeg`, `.gif` or `.ico`, else 400.","format":"binary"},"LargeFavicon":{"type":"string","description":"Large (192x192) favicon file; same rules as `favicon`.","format":"binary"},"AppleFavicon":{"type":"string","description":"Apple touch icon (180x180) file; same rules as `favicon`.","format":"binary"},"AppTitle":{"type":"string","description":"Browser title replacing the default. Empty clears it."},"DefaultLanguage":{"type":"string","description":"Fallback language; must be one of the available languages after the update (case-insensitive), else 400."},"AvailableLanguages":{"type":"array","items":{"type":"string"},"description":"Replaces the whole list of languages; must not be empty, else 400."},"Status":{"description":"Lifecycle status. Changing it requires the global administrator role, else 403.","$ref":"#/components/schemas/TenantStatus"},"Purpose":{"description":"Tenant purpose. Changing it requires the global administrator role, else 403.","$ref":"#/components/schemas/TenantPurpose"}}},"encoding":{"LogoUrl":{"style":"form"},"FaviconUrl":{"style":"form"},"LargeFaviconUrl":{"style":"form"},"AppleFaviconUrl":{"style":"form"},"Favicon":{"style":"form"},"LargeFavicon":{"style":"form"},"AppleFavicon":{"style":"form"},"AppTitle":{"style":"form"},"DefaultLanguage":{"style":"form"},"AvailableLanguages":{"style":"form"},"Status":{"style":"form"},"Purpose":{"style":"form"}}}}},"responses":{"200":{"description":"Configuration updated and returned.","content":{"text/plain":{"schema":{"description":"Tenant configuration.","$ref":"#/components/schemas/TenantConfigWeb"}},"application/json":{"schema":{"description":"Tenant configuration.","$ref":"#/components/schemas/TenantConfigWeb"}},"text/json":{"schema":{"description":"Tenant configuration.","$ref":"#/components/schemas/TenantConfigWeb"}}}},"400":{"description":"Empty `availableLanguages`, `defaultLanguage` not in the available languages, or an empty or unsupported favicon file.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"403":{"description":"Status or purpose changed by a caller who is not a global administrator.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"404":{"description":"The tenant does not exist.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"409":{"description":"The tenant configuration was changed by someone else while saving; nothing was written. Read it again and retry.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"413":{"description":"The request body is larger than 8 MB.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"429":{"description":"Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after `Retry-After`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when the limiter knows it.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.thewalletcrew.io/api-reference/internal/tenant-settings/config.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
