Settings
✅ Validado (off-chain / infra)
Suite plataforma — wallet-mode/connect/oauth/passkeys/cors (GET/POST/PUT) validados.
Gerada automaticamente do spec OpenAPI da API (fonte de verdade). 13 endpoint(s).
Get Connect settings
GET /v1/settings/connect
Returns all Connect-specific settings for the authenticated tenant.
Auth: api-key
Respostas: 200
POST /v1/settings/connect
POST /v1/settings/connect
Auth: api-key
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 201
Update Connect settings
PUT /v1/settings/connect
Update any Connect settings (OAuth, passkeys, CORS). Partial update — only include fields to change.
Auth: api-key
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 200
Get CORS settings
GET /v1/settings/cors
Returns the list of allowed CORS origins for the tenant's DApp domains.
Auth: api-key
Respostas: 200
POST /v1/settings/cors
POST /v1/settings/cors
Auth: api-key
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 201
Set CORS allowed origins
PUT /v1/settings/cors
Configure which domains can make cross-origin requests to the urblock API for your tenant. Required for browser-based DApps.
Auth: api-key
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 200
Get OAuth settings
GET /v1/settings/oauth
Returns Google and Apple OAuth Client IDs for the tenant.
Auth: api-key
Respostas: 200
POST /v1/settings/oauth
POST /v1/settings/oauth
Auth: api-key
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 201
Set OAuth Client IDs
PUT /v1/settings/oauth
Configure Google and/or Apple OAuth Client IDs for the tenant. These are used to validate id_tokens from your end-users.
Auth: api-key
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 200
Get Passkey settings
GET /v1/settings/passkeys
Returns the WebAuthn Relying Party configuration for the tenant.
Auth: api-key
Respostas: 200
POST /v1/settings/passkeys
POST /v1/settings/passkeys
Auth: api-key
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 201
Set Passkey RP configuration
PUT /v1/settings/passkeys
Configure the WebAuthn Relying Party ID and name for your domain. The rp_id should match your DApp's domain (e.g., 'myapp.com').
Auth: api-key
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 200
Get wallet mode
GET /v1/settings/wallet-mode
Returns the tenant's current wallet mode (custodial or connect) and Connect account address if set.
Auth: api-key
Respostas: 200