Project
Configuración del proyecto desde el servidor: plataformas, claves, métodos de inicio de sesión, variables globales y correos.
Configuración del proyecto desde el servidor: plataformas, claves, métodos de inicio de sesión, variables globales y correos.
Clase Project: 113 métodos (0 en @owbase/web, 113 en @owbase/node). Las descripciones de los métodos están en inglés. Los ejemplos usan la forma de objeto de los parámetros; cambia los valores entre < y > por los tuyos.
Obtener proyecto
GET /project · página del método
SDK: solo @owbase/node
Get a project.
Sin parámetros.
Acceso: clave de API con el alcance project.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.get();Eliminar proyecto
DELETE /project · página del método
SDK: solo @owbase/node
Delete a project.
Sin parámetros.
Acceso: clave de API con el alcance project.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.delete();updateAuthMethod
Sección titulada «updateAuthMethod»Actualizar estado del método de autenticación del proyecto
PATCH /project/auth-methods/{methodId} · página del método
SDK: solo @owbase/node
Update properties of a specific auth method. Use this endpoint to enable or disable a method in your project.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
methodId |
ProjectAuthMethodId |
sí | Auth Method ID. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone,passkey Valores: email-password, magic-url, email-otp, anonymous, invites, jwt, phone, passkey. |
enabled |
boolean |
sí | Auth method status. |
Acceso: clave de API con el alcance project.write.
import { Client, Project, ProjectAuthMethodId } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateAuthMethod({ methodId: ProjectAuthMethodId.EmailPassword, enabled: false,});listKeys
Sección titulada «listKeys»Listar claves del proyecto
GET /project/keys · página del método
SDK: solo @owbase/node
Get a list of all API keys from the current project.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
queries |
string[] |
no | Array of query strings generated using the Query class provided by the SDK. Learn more about queries. Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: expire, accessedAt, name, scopes |
total |
boolean |
no | When set to false, the total count returned will be 0 and will not be calculated. |
Acceso: clave de API con el alcance keys.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.listKeys({ queries: [], // optional total: false, // optional});createEphemeralKey
Sección titulada «createEphemeralKey»Crear clave efímera del proyecto
POST /project/keys/ephemeral · página del método
SDK: solo @owbase/node
Create a new ephemeral API key. It’s recommended to have multiple API keys with strict scopes for separate functions within your project.
You can also create a standard API key if you need a longer-lived key instead.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
scopes |
ProjectKeyScopes[] |
sí | Key scopes list. Maximum of 200 scopes are allowed. Valores: project.read, project.write, usage.read, keys.read, keys.write, platforms.read, platforms.write, mocks.read, mocks.write, policies.read, policies.write, project.policies.read, project.policies.write, project.oauth2.read, project.oauth2.write, templates.read, templates.write, stages.read, stages.write, users.read, users.write, sessions.read, sessions.write, teams.read, teams.write, databases.read, databases.write, tables.read, tables.write, columns.read, columns.write, indexes.read, indexes.write, rows.read, rows.write, embeddings.write, collections.read, collections.write, attributes.read, attributes.write, documents.read, documents.write, documentsdb.read, documentsdb.write, documentsdb.collections.read, documentsdb.collections.write, documentsdb.documents.read, documentsdb.documents.write, documentsdb.indexes.read, documentsdb.indexes.write, vectorsdb.read, vectorsdb.write, vectorsdb.collections.read, vectorsdb.collections.write, vectorsdb.documents.read, vectorsdb.documents.write, vectorsdb.indexes.read, vectorsdb.indexes.write, buckets.read, buckets.write, files.read, files.write, tokens.read, tokens.write, functions.read, functions.write, executions.read, executions.write, execution.read, execution.write, sites.read, sites.write, log.read, log.write, providers.read, providers.write, topics.read, topics.write, subscribers.read, subscribers.write, targets.read, targets.write, messages.read, messages.write, rules.read, rules.write, webhooks.read, webhooks.write, monitors.read, monitors.write, alerts.read, locale.read, avatars.read, avatars.write, health.read, assistant.read, migrations.read, migrations.write, schedules.read, schedules.write, vcs.read, vcs.write, insights.read, insights.write, reports.read, reports.write, reviews.read, reviews.write, presences.read, presences.write. |
duration |
number |
sí | Time in seconds before ephemeral key expires. Maximum duration is 3600 seconds. |
Acceso: clave de API con el alcance keys.write.
import { Client, Project, ProjectKeyScopes } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.createEphemeralKey({ scopes: [ProjectKeyScopes.UsersRead], duration: 600,});Obtener clave del proyecto
GET /project/keys/{keyId} · página del método
SDK: solo @owbase/node
Get a key by its unique ID.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
keyId |
string |
sí | Key ID. |
Acceso: clave de API con el alcance keys.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.getKey({ keyId: '<KEY_ID>',});updateKey
Sección titulada «updateKey»Actualizar clave del proyecto
PUT /project/keys/{keyId} · página del método
SDK: solo @owbase/node
Update a key by its unique ID. Use this endpoint to update the name, scopes, or expiration time of an API key.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
keyId |
string |
sí | Key ID. |
name |
string |
sí | Key name. Max length: 128 chars. |
scopes |
ProjectKeyScopes[] |
sí | Key scopes list. Maximum of 200 scopes are allowed. Valores: project.read, project.write, usage.read, keys.read, keys.write, platforms.read, platforms.write, mocks.read, mocks.write, policies.read, policies.write, project.policies.read, project.policies.write, project.oauth2.read, project.oauth2.write, templates.read, templates.write, stages.read, stages.write, users.read, users.write, sessions.read, sessions.write, teams.read, teams.write, databases.read, databases.write, tables.read, tables.write, columns.read, columns.write, indexes.read, indexes.write, rows.read, rows.write, embeddings.write, collections.read, collections.write, attributes.read, attributes.write, documents.read, documents.write, documentsdb.read, documentsdb.write, documentsdb.collections.read, documentsdb.collections.write, documentsdb.documents.read, documentsdb.documents.write, documentsdb.indexes.read, documentsdb.indexes.write, vectorsdb.read, vectorsdb.write, vectorsdb.collections.read, vectorsdb.collections.write, vectorsdb.documents.read, vectorsdb.documents.write, vectorsdb.indexes.read, vectorsdb.indexes.write, buckets.read, buckets.write, files.read, files.write, tokens.read, tokens.write, functions.read, functions.write, executions.read, executions.write, execution.read, execution.write, sites.read, sites.write, log.read, log.write, providers.read, providers.write, topics.read, topics.write, subscribers.read, subscribers.write, targets.read, targets.write, messages.read, messages.write, rules.read, rules.write, webhooks.read, webhooks.write, monitors.read, monitors.write, alerts.read, locale.read, avatars.read, avatars.write, health.read, assistant.read, migrations.read, migrations.write, schedules.read, schedules.write, vcs.read, vcs.write, insights.read, insights.write, reports.read, reports.write, reviews.read, reviews.write, presences.read, presences.write. |
expire |
string |
no | Expiration time in ISO 8601 format. Use null for unlimited expiration. |
description |
string |
no | Optional description for the key. |
Acceso: clave de API con el alcance keys.write.
import { Client, Project, ProjectKeyScopes } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateKey({ keyId: '<KEY_ID>', name: '<NAME>', scopes: [ProjectKeyScopes.UsersRead], expire: '2020-10-15T06:38:00.000+00:00', // optional description: '<DESCRIPTION>', // optional});deleteKey
Sección titulada «deleteKey»Eliminar clave del proyecto
DELETE /project/keys/{keyId} · página del método
SDK: solo @owbase/node
Delete a key by its unique ID. Once deleted, the key can no longer be used to authenticate API calls.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
keyId |
string |
sí | Key ID. |
Acceso: clave de API con el alcance keys.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.deleteKey({ keyId: '<KEY_ID>',});updateLabels
Sección titulada «updateLabels»Actualizar etiquetas del proyecto
PUT /project/labels · página del método
SDK: solo @owbase/node
Update the project labels. Labels can be used to easily filter projects in an organization.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
labels |
string[] |
sí | Array of project labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long. |
Acceso: clave de API con el alcance project.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateLabels({ labels: ['production'],});listMockPhones
Sección titulada «listMockPhones»Listar teléfonos de prueba del proyecto
GET /project/mock-phones · página del método
SDK: solo @owbase/node
Get a list of all mock phones in the project. This endpoint returns an array of all mock phones and their OTPs.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
queries |
string[] |
no | Array of query strings generated using the Query class provided by the SDK. Learn more about queries. Only supported methods are limit and offset |
total |
boolean |
no | When set to false, the total count returned will be 0 and will not be calculated. |
Acceso: clave de API con el alcance mocks.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.listMockPhones({ queries: [], // optional total: false, // optional});createMockPhone
Sección titulada «createMockPhone»Crear teléfono de prueba del proyecto
POST /project/mock-phones · página del método
SDK: solo @owbase/node
Create a new mock phone for your project. Use this endpoint to register a mock phone number and its sign-in OTP for your testers.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
number |
string |
sí | Phone number to associate with the mock phone. Must be a valid E.164 formatted phone number. |
otp |
string |
sí | One-time password (OTP) to associate with the mock phone. Must be a 6-digit numeric code. |
Acceso: clave de API con el alcance mocks.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.createMockPhone({ number: '+12065550100', otp: '<OTP>',});getMockPhone
Sección titulada «getMockPhone»Obtener teléfono de prueba del proyecto
GET /project/mock-phones/{number} · página del método
SDK: solo @owbase/node
Get a mock phone by its unique number. This endpoint returns the mock phone’s OTP.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
number |
string |
sí | Phone number associated with the mock phone. Must be a valid E.164 formatted phone number. |
Acceso: clave de API con el alcance mocks.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.getMockPhone({ number: '+12065550100',});updateMockPhone
Sección titulada «updateMockPhone»Actualizar teléfono de prueba del proyecto
PUT /project/mock-phones/{number} · página del método
SDK: solo @owbase/node
Update a mock phone by its unique number. Use this endpoint to update the mock phone’s OTP.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
number |
string |
sí | Phone number associated with the mock phone. Must be a valid E.164 formatted phone number. |
otp |
string |
sí | One-time password (OTP) to associate with the mock phone. Must be a 6-digit numeric code. |
Acceso: clave de API con el alcance mocks.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateMockPhone({ number: '+12065550100', otp: '<OTP>',});deleteMockPhone
Sección titulada «deleteMockPhone»Eliminar teléfono de prueba del proyecto
DELETE /project/mock-phones/{number} · página del método
SDK: solo @owbase/node
Delete a mock phone by its unique number. This endpoint removes the mock phone and its OTP configuration from the project.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
number |
string |
sí | Phone number associated with the mock phone. Must be a valid E.164 formatted phone number. |
Acceso: clave de API con el alcance mocks.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.deleteMockPhone({ number: '+12065550100',});listOAuth2Providers
Sección titulada «listOAuth2Providers»Listar proveedores OAuth2 del proyecto
GET /project/oauth2 · página del método
SDK: solo @owbase/node
Get a list of all OAuth2 providers supported by the server, along with the project’s configuration for each. Credential fields are write-only and always returned empty.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
queries |
string[] |
no | Array of query strings generated using the Query class provided by the SDK. Learn more about queries. Only supported methods are limit and offset |
total |
boolean |
no | When set to false, the total count returned will be 0 and will not be calculated. |
Acceso: clave de API con el alcance project.oauth2.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.listOAuth2Providers({ queries: [], // optional total: false, // optional});updateOAuth2Amazon
Sección titulada «updateOAuth2Amazon»Actualizar OAuth2 Amazon del proyecto
PATCH /project/oauth2/amazon · página del método
SDK: solo @owbase/node
Update the project OAuth2 Amazon configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Amazon OAuth2 app. For example: amzn1.application-oa2-client.87400c00000000000000000000063d5b2 |
clientSecret |
string |
no | ‘Client Secret’ of Amazon OAuth2 app. For example: 79ffe4000000000000000000000000000000000000000000000000000002de55 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Amazon({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Apple
Sección titulada «updateOAuth2Apple»Actualizar OAuth2 Apple del proyecto
PATCH /project/oauth2/apple · página del método
SDK: solo @owbase/node
Update the project OAuth2 Apple configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
serviceId |
string |
no | ‘Service ID’ of Apple OAuth2 app. For example: ip.owbase.app.web |
keyId |
string |
no | ‘Key ID’ of Apple OAuth2 app. For example: P4000000N8 |
teamId |
string |
no | ‘Team ID’ of Apple OAuth2 app. For example: D4000000R6 |
p8File |
string |
no | Contents of the Apple OAuth2 app .p8 private key file. The secret key wrapped by the PEM markers is 200 characters long. For example: —–BEGIN PRIVATE KEY—–MIGTAg…jy2Xbna—–END PRIVATE KEY—– |
enabled |
boolean |
no | Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only. |
nativeClientIds |
string[] |
no | App bundle IDs accepted as ID token audiences for native Sign in with Apple. For example: com.example.app. Together with the Services ID, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list. |
nativeEnabled |
boolean |
no | Native Sign in with Apple status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a Services ID or at least one native client ID to match tokens against, but no key or team ID: this method verifies a signature rather than redeeming an authorization code. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Apple({ serviceId: '<SERVICE_ID>', // optional keyId: '<KEY_ID>', // optional teamId: '<TEAM_ID>', // optional p8File: '<P8_FILE>', // optional enabled: false, // optional nativeClientIds: [], // optional nativeEnabled: false, // optional});updateOAuth2Auth0
Sección titulada «updateOAuth2Auth0»Actualizar OAuth2 Auth0 del proyecto
PATCH /project/oauth2/auth0 · página del método
SDK: solo @owbase/node
Update the project OAuth2 Auth0 configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Auth0 OAuth2 app. For example: OaOkIA000000000000000000005KLSYq |
clientSecret |
string |
no | ‘Client Secret’ of Auth0 OAuth2 app. For example: zXz0000-00000000000000000000000000000-00000000000000000000PJafnF |
endpoint |
string |
no | Domain of Auth0 instance. For example: example.us.auth0.com |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
prompt |
ProjectOAuth2Auth0Prompt[] |
no | Array of Auth0 OAuth2 prompt values. If “none” is included, it must be the only element. “none” means: don’t display any authentication or consent screens. “login” means: prompt the user to re-authenticate. “consent” means: prompt the user for consent. Pass an empty array to use the Auth0 default. Valores: none, login, consent. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2Auth0Prompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Auth0({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional endpoint: '<ENDPOINT>', // optional enabled: false, // optional prompt: [ProjectOAuth2Auth0Prompt.None], // optional});updateOAuth2Authentik
Sección titulada «updateOAuth2Authentik»Actualizar OAuth2 Authentik del proyecto
PATCH /project/oauth2/authentik · página del método
SDK: solo @owbase/node
Update the project OAuth2 Authentik configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Authentik OAuth2 app. For example: dTKOPa0000000000000000000000000000e7G8hv |
clientSecret |
string |
no | ‘Client Secret’ of Authentik OAuth2 app. For example: ntQadq000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Hp5WK |
endpoint |
string |
no | Domain of Authentik instance. For example: example.authentik.com |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Authentik({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional endpoint: '<ENDPOINT>', // optional enabled: false, // optional});updateOAuth2Autodesk
Sección titulada «updateOAuth2Autodesk»Actualizar OAuth2 Autodesk del proyecto
PATCH /project/oauth2/autodesk · página del método
SDK: solo @owbase/node
Update the project OAuth2 Autodesk configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Autodesk OAuth2 app. For example: 5zw90v00000000000000000000kVYXN7 |
clientSecret |
string |
no | ‘Client Secret’ of Autodesk OAuth2 app. For example: 7I000000000000MW |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Autodesk({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Bitbucket
Sección titulada «updateOAuth2Bitbucket»Actualizar OAuth2 Bitbucket del proyecto
PATCH /project/oauth2/bitbucket · página del método
SDK: solo @owbase/node
Update the project OAuth2 Bitbucket configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
key |
string |
no | ‘Key’ of Bitbucket OAuth2 app. For example: Knt70000000000ByRc |
secret |
string |
no | ‘Secret’ of Bitbucket OAuth2 app. For example: NMfLZJ00000000000000000000TLQdDx |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Bitbucket({ key: '<KEY>', // optional secret: '<SECRET>', // optional enabled: false, // optional});updateOAuth2Bitly
Sección titulada «updateOAuth2Bitly»Actualizar OAuth2 Bitly del proyecto
PATCH /project/oauth2/bitly · página del método
SDK: solo @owbase/node
Update the project OAuth2 Bitly configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Bitly OAuth2 app. For example: d95151000000000000000000000000000067af9b |
clientSecret |
string |
no | ‘Client Secret’ of Bitly OAuth2 app. For example: a13e250000000000000000000000000000d73095 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Bitly({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Box
Sección titulada «updateOAuth2Box»Actualizar OAuth2 Box del proyecto
PATCH /project/oauth2/box · página del método
SDK: solo @owbase/node
Update the project OAuth2 Box configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Box OAuth2 app. For example: deglcs00000000000000000000x2og6y |
clientSecret |
string |
no | ‘Client Secret’ of Box OAuth2 app. For example: OKM1f100000000000000000000eshEif |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Box({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Cloudflare
Sección titulada «updateOAuth2Cloudflare»Actualizar OAuth2 Cloudflare del proyecto
PATCH /project/oauth2/cloudflare · página del método
SDK: solo @owbase/node
Update the project OAuth2 Cloudflare configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Cloudflare OAuth2 app. For example: 4b866000000000000000000000c9e4e2 |
clientSecret |
string |
no | ‘Client Secret’ of Cloudflare OAuth2 app. For example: cfoc_5Q6YRl0000000000000000000000000000000000003d214f |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Cloudflare({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Dailymotion
Sección titulada «updateOAuth2Dailymotion»Actualizar OAuth2 Dailymotion del proyecto
PATCH /project/oauth2/dailymotion · página del método
SDK: solo @owbase/node
Update the project OAuth2 Dailymotion configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
apiKey |
string |
no | ‘API Key’ of Dailymotion OAuth2 app. For example: 07a9000000000000067f |
apiSecret |
string |
no | ‘API Secret’ of Dailymotion OAuth2 app. For example: a399a90000000000000000000000000000d90639 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Dailymotion({ apiKey: '<API_KEY>', // optional apiSecret: '<API_SECRET>', // optional enabled: false, // optional});updateOAuth2Discord
Sección titulada «updateOAuth2Discord»Actualizar OAuth2 Discord del proyecto
PATCH /project/oauth2/discord · página del método
SDK: solo @owbase/node
Update the project OAuth2 Discord configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Discord OAuth2 app. For example: 950722000000343754 |
clientSecret |
string |
no | ‘Client Secret’ of Discord OAuth2 app. For example: YmPXnM000000000000000000002zFg5D |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
prompt |
ProjectOAuth2DiscordPrompt[] |
no | Array with at most one Discord OAuth2 prompt value. “none” means: skip the authorization screen for users who already authorized the app with the requested scopes. “consent” means: ask users who already authorized the app to approve it again. Pass an empty array to use the Discord default. Valores: none, consent. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2DiscordPrompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Discord({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional prompt: [ProjectOAuth2DiscordPrompt.None], // optional});updateOAuth2Disqus
Sección titulada «updateOAuth2Disqus»Actualizar OAuth2 Disqus del proyecto
PATCH /project/oauth2/disqus · página del método
SDK: solo @owbase/node
Update the project OAuth2 Disqus configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
publicKey |
string |
no | ‘Public Key, also known as API Key’ of Disqus OAuth2 app. For example: cgegH70000000000000000000000000000000000000000000000000000Hr1nYX |
secretKey |
string |
no | ‘Secret Key, also known as API Secret’ of Disqus OAuth2 app. For example: W7Bykj00000000000000000000000000000000000000000000000000003o43w9 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Disqus({ publicKey: '<PUBLIC_KEY>', // optional secretKey: '<SECRET_KEY>', // optional enabled: false, // optional});updateOAuth2Dropbox
Sección titulada «updateOAuth2Dropbox»Actualizar OAuth2 Dropbox del proyecto
PATCH /project/oauth2/dropbox · página del método
SDK: solo @owbase/node
Update the project OAuth2 Dropbox configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
appKey |
string |
no | ‘App Key’ of Dropbox OAuth2 app. For example: jl000000000009t |
appSecret |
string |
no | ‘App Secret’ of Dropbox OAuth2 app. For example: g200000000000vw |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Dropbox({ appKey: '<APP_KEY>', // optional appSecret: '<APP_SECRET>', // optional enabled: false, // optional});updateOAuth2Etsy
Sección titulada «updateOAuth2Etsy»Actualizar OAuth2 Etsy del proyecto
PATCH /project/oauth2/etsy · página del método
SDK: solo @owbase/node
Update the project OAuth2 Etsy configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
keyString |
string |
no | ‘Keystring’ of Etsy OAuth2 app. For example: nsgzxh0000000000008j85a2 |
sharedSecret |
string |
no | ‘Shared Secret’ of Etsy OAuth2 app. For example: tp000000ru |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Etsy({ keyString: '<KEY_STRING>', // optional sharedSecret: '<SHARED_SECRET>', // optional enabled: false, // optional});updateOAuth2Facebook
Sección titulada «updateOAuth2Facebook»Actualizar OAuth2 Facebook del proyecto
PATCH /project/oauth2/facebook · página del método
SDK: solo @owbase/node
Update the project OAuth2 Facebook configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
appId |
string |
no | ‘App ID’ of Facebook OAuth2 app. For example: 260600000007694 |
appSecret |
string |
no | ‘App Secret’ of Facebook OAuth2 app. For example: 2d0b2800000000000000000000d38af4 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Facebook({ appId: '<APP_ID>', // optional appSecret: '<APP_SECRET>', // optional enabled: false, // optional});updateOAuth2Figma
Sección titulada «updateOAuth2Figma»Actualizar OAuth2 Figma del proyecto
PATCH /project/oauth2/figma · página del método
SDK: solo @owbase/node
Update the project OAuth2 Figma configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Figma OAuth2 app. For example: byay5H0000000000VtiI40 |
clientSecret |
string |
no | ‘Client Secret’ of Figma OAuth2 app. For example: yEpOYn0000000000000000004iIsU5 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Figma({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2FusionAuth
Sección titulada «updateOAuth2FusionAuth»Actualizar OAuth2 FusionAuth del proyecto
PATCH /project/oauth2/fusionauth · página del método
SDK: solo @owbase/node
Update the project OAuth2 FusionAuth configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of FusionAuth OAuth2 app. For example: b2222c00-0000-0000-0000-000000862097 |
clientSecret |
string |
no | ‘Client Secret’ of FusionAuth OAuth2 app. For example: Jx4s0C0000000000000000000000000000000wGqLsc |
endpoint |
string |
no | Domain of FusionAuth instance. For example: example.fusionauth.io |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2FusionAuth({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional endpoint: '<ENDPOINT>', // optional enabled: false, // optional});updateOAuth2GitHub
Sección titulada «updateOAuth2GitHub»Actualizar OAuth2 GitHub del proyecto
PATCH /project/oauth2/github · página del método
SDK: solo @owbase/node
Update the project OAuth2 GitHub configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘OAuth2 app Client ID, or App ID’ of GitHub OAuth2 app. For example: e4d87900000000540733. Example of wrong value: 370006 |
clientSecret |
string |
no | ‘Client Secret’ of GitHub OAuth2 app. For example: 5e07c00000000000000000000000000000198bcc |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
prompt |
ProjectOAuth2GitHubPrompt[] |
no | Array of GitHub OAuth2 prompt values. “select_account” means: prompt the user to select an account. Pass an empty array to use the GitHub default. Valores: select_account. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2GitHubPrompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2GitHub({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional prompt: [ProjectOAuth2GitHubPrompt.SelectAccount], // optional});updateOAuth2Gitlab
Sección titulada «updateOAuth2Gitlab»Actualizar OAuth2 Gitlab del proyecto
PATCH /project/oauth2/gitlab · página del método
SDK: solo @owbase/node
Update the project OAuth2 Gitlab configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
applicationId |
string |
no | ‘Application ID’ of Gitlab OAuth2 app. For example: d41ffe0000000000000000000000000000000000000000000000000000d5e252 |
secret |
string |
no | ‘Secret’ of Gitlab OAuth2 app. For example: gloas-838cfa0000000000000000000000000000000000000000000000000000ecbb38 |
endpoint |
string |
no | Endpoint URL of self-hosted GitLab instance. For example: https://gitlab.com |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Gitlab({ applicationId: '<APPLICATION_ID>', // optional secret: '<SECRET>', // optional endpoint: 'https://example.com', // optional enabled: false, // optional});updateOAuth2Google
Sección titulada «updateOAuth2Google»Actualizar OAuth2 Google del proyecto
PATCH /project/oauth2/google · página del método
SDK: solo @owbase/node
Update the project OAuth2 Google configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Google OAuth2 app. For example: 120000000095-92ifjb00000000000000000000g7ijfb.apps.googleusercontent.com |
clientSecret |
string |
no | ‘Client Secret’ of Google OAuth2 app. For example: GOCSPX-2k8gsR0000000000000000VNahJj |
prompt |
ProjectOAuth2GooglePrompt[] |
no | Array of Google OAuth2 prompt values. If “none” is included, it must be the only element. “none” means: don’t display any authentication or consent screens. Must not be specified with other values. “consent” means: prompt the user for consent. “select_account” means: prompt the user to select an account. Valores: none, consent, select_account. |
enabled |
boolean |
no | Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only. |
nativeClientIds |
string[] |
no | Additional OAuth2 client IDs accepted as ID token audiences for native sign-in (Android and iOS client IDs). Together with the client ID, which is always accepted, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list. |
nativeEnabled |
boolean |
no | Native Google sign-in status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a client ID or at least one native client ID to match tokens against, but no client secret: this method verifies a signature rather than redeeming an authorization code. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2GooglePrompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Google({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional prompt: [ProjectOAuth2GooglePrompt.None], // optional enabled: false, // optional nativeClientIds: [], // optional nativeEnabled: false, // optional});updateOAuth2HuggingFace
Sección titulada «updateOAuth2HuggingFace»Actualizar OAuth2 Hugging Face del proyecto
PATCH /project/oauth2/huggingface · página del método
SDK: solo @owbase/node
Update the project OAuth2 Hugging Face configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Hugging Face OAuth2 app. For example: 2ab9cff9-d711-40ad-a91e-b08a49c42d24 |
clientSecret |
string |
no | ‘Client Secret’ of Hugging Face OAuth2 app. For example: oauth_app_secret_wcLhRtl000000000000000000000xbNdLt |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2HuggingFace({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Kakao
Sección titulada «updateOAuth2Kakao»Actualizar OAuth2 Kakao del proyecto
PATCH /project/oauth2/kakao · página del método
SDK: solo @owbase/node
Update the project OAuth2 Kakao configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘REST API key’ of Kakao OAuth2 app. For example: 839ff5000000000000000000013206de |
clientSecret |
string |
no | ‘Client Secret’ of Kakao OAuth2 app. For example: jLNVOK00000000000000000000yJebea. Generate it under Kakao Login > Security and set its status to enabled |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
prompt |
ProjectOAuth2KakaoPrompt[] |
no | Array of Kakao OAuth2 prompt values. If “none” is included, it must be the only element. “none” means: don’t display any authentication or consent screens. “login” means: prompt the user to re-authenticate. “create” means: prompt the user to sign up. “select_account” means: prompt the user to select an account. Pass an empty array to use the Kakao default. Valores: none, login, create, select_account. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2KakaoPrompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Kakao({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional prompt: [ProjectOAuth2KakaoPrompt.None], // optional});updateOAuth2Keycloak
Sección titulada «updateOAuth2Keycloak»Actualizar OAuth2 Keycloak del proyecto
PATCH /project/oauth2/keycloak · página del método
SDK: solo @owbase/node
Update the project OAuth2 Keycloak configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Keycloak OAuth2 app. For example: owbase-o0000000st-app |
clientSecret |
string |
no | ‘Client Secret’ of Keycloak OAuth2 app. For example: jdjrJd00000000000000000000HUsaZO |
endpoint |
string |
no | Domain of Keycloak instance. For example: keycloak.example.com |
realmName |
string |
no | Keycloak realm name. For example: owbase-realm |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Keycloak({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional endpoint: '<ENDPOINT>', // optional realmName: '<REALM_NAME>', // optional enabled: false, // optional});updateOAuth2Kick
Sección titulada «updateOAuth2Kick»Actualizar OAuth2 Kick del proyecto
PATCH /project/oauth2/kick · página del método
SDK: solo @owbase/node
Update the project OAuth2 Kick configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Kick OAuth2 app. For example: 01KQ7C00000000000001MFHS32 |
clientSecret |
string |
no | ‘Client Secret’ of Kick OAuth2 app. For example: 34ac5600000000000000000000000000000000000000000000000000e830c8b |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Kick({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Linkedin
Sección titulada «updateOAuth2Linkedin»Actualizar OAuth2 Linkedin del proyecto
PATCH /project/oauth2/linkedin · página del método
SDK: solo @owbase/node
Update the project OAuth2 Linkedin configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Linkedin OAuth2 app. For example: 770000000000dv |
primaryClientSecret |
string |
no | ‘Primary Client Secret or Secondary Client Secret’ of Linkedin OAuth2 app. For example: WPL_AP1.2Bf0000000000000./HtlYw== |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Linkedin({ clientId: '<CLIENT_ID>', // optional primaryClientSecret: '<PRIMARY_CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Microsoft
Sección titulada «updateOAuth2Microsoft»Actualizar OAuth2 Microsoft del proyecto
PATCH /project/oauth2/microsoft · página del método
SDK: solo @owbase/node
Update the project OAuth2 Microsoft configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
applicationId |
string |
no | ‘Entra ID Application ID, also known as Client ID’ of Microsoft OAuth2 app. For example: 00001111-aaaa-2222-bbbb-3333cccc4444 |
applicationSecret |
string |
no | ‘Entra ID Application Secret, also known as Client Secret’ of Microsoft OAuth2 app. For example: A1bC2dE3fH4iJ5kL6mN7oP8qR9sT0u |
tenant |
string |
no | Microsoft Entra ID tenant identifier. Use ‘common’, ‘organizations’, ‘consumers’ or a specific tenant ID. For example: common |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
prompt |
ProjectOAuth2MicrosoftPrompt[] |
no | Array of Microsoft OAuth2 prompt values. “none” means: don’t display any authentication or consent screens. “login” means: prompt the user to re-authenticate. “consent” means: prompt the user for consent. “select_account” means: prompt the user to select an account. Pass an empty array to use the Microsoft default. Valores: none, login, consent, select_account. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2MicrosoftPrompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Microsoft({ applicationId: '<APPLICATION_ID>', // optional applicationSecret: '<APPLICATION_SECRET>', // optional tenant: '<TENANT>', // optional enabled: false, // optional prompt: [ProjectOAuth2MicrosoftPrompt.None], // optional});updateOAuth2Notion
Sección titulada «updateOAuth2Notion»Actualizar OAuth2 Notion del proyecto
PATCH /project/oauth2/notion · página del método
SDK: solo @owbase/node
Update the project OAuth2 Notion configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
oauthClientId |
string |
no | ‘OAuth Client ID’ of Notion OAuth2 app. For example: 341d8700-0000-0000-0000-000000446ee3 |
oauthClientSecret |
string |
no | ‘OAuth Client Secret’ of Notion OAuth2 app. For example: secret_dLUr4b000000000000000000000000000000lFHAa9 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Notion({ oauthClientId: '<OAUTH_CLIENT_ID>', // optional oauthClientSecret: '<OAUTH_CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Oidc
Sección titulada «updateOAuth2Oidc»Actualizar OAuth2 Oidc del proyecto
PATCH /project/oauth2/oidc · página del método
SDK: solo @owbase/node
Update the project OAuth2 Oidc configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Oidc OAuth2 app. For example: qibI2x0000000000000000000000000006L2YFoG |
clientSecret |
string |
no | ‘Client Secret’ of Oidc OAuth2 app. For example: Ah68ed000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003qpcHV |
wellKnownURL |
string |
no | OpenID Connect well-known configuration URL. When provided, authorization, token, and user info endpoints can be discovered automatically. For example: https://myoauth.com/.well-known/openid-configuration |
authorizationURL |
string |
no | OpenID Connect authorization endpoint URL. Required when wellKnownURL is not provided. For example: https://myoauth.com/oauth2/authorize |
tokenURL |
string |
no | OpenID Connect token endpoint URL. Required when wellKnownURL is not provided. For example: https://myoauth.com/oauth2/token |
userInfoURL |
string |
no | OpenID Connect user info endpoint URL. Required when wellKnownURL is not provided. For example: https://myoauth.com/oauth2/userinfo |
prompt |
ProjectOAuth2OidcPrompt[] |
no | Array of OpenID Connect prompt values controlling the authentication and consent screens. If “none” is included, it must be the only element. “none” means: don’t display any authentication or consent screens. “login” means: prompt the user to re-authenticate. “consent” means: prompt the user for consent. “select_account” means: prompt the user to select an account. Valores: none, login, consent, select_account. |
maxAge |
number |
no | Maximum authentication age in seconds. When set, the user must have authenticated within this many seconds, otherwise they are prompted to re-authenticate. |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2OidcPrompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Oidc({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional wellKnownURL: 'https://example.com', // optional authorizationURL: 'https://example.com', // optional tokenURL: 'https://example.com', // optional userInfoURL: 'https://example.com', // optional prompt: [ProjectOAuth2OidcPrompt.None], // optional maxAge: 0, // optional enabled: false, // optional});updateOAuth2Okta
Sección titulada «updateOAuth2Okta»Actualizar OAuth2 Okta del proyecto
PATCH /project/oauth2/okta · página del método
SDK: solo @owbase/node
Update the project OAuth2 Okta configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Okta OAuth2 app. For example: 0oa00000000000000698 |
clientSecret |
string |
no | ‘Client Secret’ of Okta OAuth2 app. For example: Kiq0000000000000000000000000000000000000-00000000000H2L5-3SJ-vRV |
domain |
string |
no | Okta company domain. Required when enabling the provider. For example: trial-6400025.okta.com. Example of wrong value: trial-6400025-admin.okta.com, or https://trial-6400025.okta.com/ |
authorizationServerId |
string |
no | Custom Authorization Servers. Optional, can be left empty or unconfigured. For example: aus000000000000000h7z |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
prompt |
ProjectOAuth2OktaPrompt[] |
no | Array of Okta OAuth2 prompt values. If “none” is included, it must be the only element. “none” means: don’t display any authentication or consent screens. “login” means: prompt the user to re-authenticate. “consent” means: prompt the user for consent. Pass an empty array to use the Okta default. Valores: none, login, consent. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2OktaPrompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Okta({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional domain: 'example.com', // optional authorizationServerId: '<AUTHORIZATION_SERVER_ID>', // optional enabled: false, // optional prompt: [ProjectOAuth2OktaPrompt.None], // optional});updateOAuth2Paypal
Sección titulada «updateOAuth2Paypal»Actualizar OAuth2 Paypal del proyecto
PATCH /project/oauth2/paypal · página del método
SDK: solo @owbase/node
Update the project OAuth2 Paypal configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Paypal OAuth2 app. For example: AdhIEG7-000000000000-0000000000000000000000000000000-0000000000000000000000-2pyB |
secretKey |
string |
no | ‘Secret Key 1 or Secret Key 2’ of Paypal OAuth2 app. For example: EH8KCXtew–000000000000000000000000000000000000000_C-1_5UP_000000000000000CB7KDp |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Paypal({ clientId: '<CLIENT_ID>', // optional secretKey: '<SECRET_KEY>', // optional enabled: false, // optional});updateOAuth2PaypalSandbox
Sección titulada «updateOAuth2PaypalSandbox»Actualizar OAuth2 PaypalSandbox del proyecto
PATCH /project/oauth2/paypalSandbox · página del método
SDK: solo @owbase/node
Update the project OAuth2 PaypalSandbox configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of PaypalSandbox OAuth2 app. For example: AdhIEG7-000000000000-0000000000000000000000000000000-0000000000000000000000-2pyB |
secretKey |
string |
no | ‘Secret Key 1 or Secret Key 2’ of PaypalSandbox OAuth2 app. For example: EH8KCXtew–000000000000000000000000000000000000000_C-1_5UP_000000000000000CB7KDp |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2PaypalSandbox({ clientId: '<CLIENT_ID>', // optional secretKey: '<SECRET_KEY>', // optional enabled: false, // optional});updateOAuth2Podio
Sección titulada «updateOAuth2Podio»Actualizar OAuth2 Podio del proyecto
PATCH /project/oauth2/podio · página del método
SDK: solo @owbase/node
Update the project OAuth2 Podio configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Podio OAuth2 app. For example: owbase-o0000000st-app |
clientSecret |
string |
no | ‘Client Secret’ of Podio OAuth2 app. For example: Rn247T0000000000000000000000000000000000000000000000000000W2zWTN |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Podio({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Resend
Sección titulada «updateOAuth2Resend»Actualizar OAuth2 Resend del proyecto
PATCH /project/oauth2/resend · página del método
SDK: solo @owbase/node
Update the project OAuth2 Resend configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Resend OAuth2 app. For example: f47ac10b-58cc-4372-a567-0e02b2c3d479 |
clientSecret |
string |
no | ‘Client Secret’ of Resend OAuth2 app. For example: 9c1e4b00000000000000000000000000000000000000000000000000a72d5f4 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Resend({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Salesforce
Sección titulada «updateOAuth2Salesforce»Actualizar OAuth2 Salesforce del proyecto
PATCH /project/oauth2/salesforce · página del método
SDK: solo @owbase/node
Update the project OAuth2 Salesforce configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
customerKey |
string |
no | ‘Consumer Key’ of Salesforce OAuth2 app. For example: 3MVG9I0000000000000000000000000000000000000000000000000000000000000000000000000C5Aejq |
customerSecret |
string |
no | ‘Consumer Secret’ of Salesforce OAuth2 app. For example: 3w000000000000e2 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
prompt |
ProjectOAuth2SalesforcePrompt[] |
no | Array of Salesforce OAuth2 prompt values. “login” means: prompt the user to re-authenticate. “consent” means: prompt the user for consent. Pass an empty array to use the Salesforce default. Valores: login, consent. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2SalesforcePrompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Salesforce({ customerKey: '<CUSTOMER_KEY>', // optional customerSecret: '<CUSTOMER_SECRET>', // optional enabled: false, // optional prompt: [ProjectOAuth2SalesforcePrompt.Login], // optional});updateOAuth2Slack
Sección titulada «updateOAuth2Slack»Actualizar OAuth2 Slack del proyecto
PATCH /project/oauth2/slack · página del método
SDK: solo @owbase/node
Update the project OAuth2 Slack configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Slack OAuth2 app. For example: 23000000089.15000000000023 |
clientSecret |
string |
no | ‘Client Secret’ of Slack OAuth2 app. For example: 81656000000000000000000000f3d2fd |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Slack({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Spotify
Sección titulada «updateOAuth2Spotify»Actualizar OAuth2 Spotify del proyecto
PATCH /project/oauth2/spotify · página del método
SDK: solo @owbase/node
Update the project OAuth2 Spotify configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Spotify OAuth2 app. For example: 6ec271000000000000000000009beace |
clientSecret |
string |
no | ‘Client Secret’ of Spotify OAuth2 app. For example: db068a000000000000000000008b5b9f |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Spotify({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Stripe
Sección titulada «updateOAuth2Stripe»Actualizar OAuth2 Stripe del proyecto
PATCH /project/oauth2/stripe · página del método
SDK: solo @owbase/node
Update the project OAuth2 Stripe configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Stripe OAuth2 app. For example: ca_UKibXX0000000000000000000006byvR |
apiSecretKey |
string |
no | ‘API Secret Key’ of Stripe OAuth2 app. For example: sk_51SfOd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000QGWYfp |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Stripe({ clientId: '<CLIENT_ID>', // optional apiSecretKey: '<API_SECRET_KEY>', // optional enabled: false, // optional});updateOAuth2TikTok
Sección titulada «updateOAuth2TikTok»Actualizar OAuth2 TikTok del proyecto
PATCH /project/oauth2/tiktok · página del método
SDK: solo @owbase/node
Update the project OAuth2 TikTok configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client key’ of TikTok OAuth2 app. For example: awz000000000tyw0 |
clientSecret |
string |
no | ‘Client secret’ of TikTok OAuth2 app. For example: 6wXewM00000000000000000000yXnite |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2TikTok({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Tradeshift
Sección titulada «updateOAuth2Tradeshift»Actualizar OAuth2 Tradeshift del proyecto
PATCH /project/oauth2/tradeshift · página del método
SDK: solo @owbase/node
Update the project OAuth2 Tradeshift configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
oauth2ClientId |
string |
no | ‘OAuth2 Client ID’ of Tradeshift OAuth2 app. For example: owbase-tes00000.0000000000est-app |
oauth2ClientSecret |
string |
no | ‘OAuth2 Client Secret’ of Tradeshift OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Tradeshift({ oauth2ClientId: '<OAUTH2_CLIENT_ID>', // optional oauth2ClientSecret: '<OAUTH2_CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2TradeshiftSandbox
Sección titulada «updateOAuth2TradeshiftSandbox»Actualizar OAuth2 Tradeshift Sandbox del proyecto
PATCH /project/oauth2/tradeshiftBox · página del método
SDK: solo @owbase/node
Update the project OAuth2 Tradeshift Sandbox configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
oauth2ClientId |
string |
no | ‘OAuth2 Client ID’ of Tradeshift Sandbox OAuth2 app. For example: owbase-tes00000.0000000000est-app |
oauth2ClientSecret |
string |
no | ‘OAuth2 Client Secret’ of Tradeshift Sandbox OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2TradeshiftSandbox({ oauth2ClientId: '<OAUTH2_CLIENT_ID>', // optional oauth2ClientSecret: '<OAUTH2_CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Twitch
Sección titulada «updateOAuth2Twitch»Actualizar OAuth2 Twitch del proyecto
PATCH /project/oauth2/twitch · página del método
SDK: solo @owbase/node
Update the project OAuth2 Twitch configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Twitch OAuth2 app. For example: vvi0in000000000000000000ikmt9p |
clientSecret |
string |
no | ‘Client Secret’ of Twitch OAuth2 app. For example: pmapue000000000000000000zylw3v |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Twitch({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Webflow
Sección titulada «updateOAuth2Webflow»Actualizar OAuth2 Webflow del proyecto
PATCH /project/oauth2/webflow · página del método
SDK: solo @owbase/node
Update the project OAuth2 Webflow configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Webflow OAuth2 app. For example: 8bb20000000000000000000000000000000000000000000000000000000040dd |
clientSecret |
string |
no | ‘Client Secret’ of Webflow OAuth2 app. For example: 59bf00000000000000000000000000000000000000000000000000000000fe59 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Webflow({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2WordPress
Sección titulada «updateOAuth2WordPress»Actualizar OAuth2 WordPress del proyecto
PATCH /project/oauth2/wordpress · página del método
SDK: solo @owbase/node
Update the project OAuth2 WordPress configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of WordPress OAuth2 app. For example: 130005 |
clientSecret |
string |
no | ‘Client Secret’ of WordPress OAuth2 app. For example: PlBfJS0000000000000000000000000000000000000000000000000000EdUZJk |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2WordPress({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2X
Sección titulada «updateOAuth2X»Actualizar OAuth2 X del proyecto
PATCH /project/oauth2/x · página del método
SDK: solo @owbase/node
Update the project OAuth2 X configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
customerKey |
string |
no | ‘Customer Key’ of X OAuth2 app. For example: slzZV0000000000000NFLaWT |
secretKey |
string |
no | ‘Secret Key’ of X OAuth2 app. For example: tkEPkp00000000000000000000000000000000000000FTxbI9 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2X({ customerKey: '<CUSTOMER_KEY>', // optional secretKey: '<SECRET_KEY>', // optional enabled: false, // optional});updateOAuth2Yahoo
Sección titulada «updateOAuth2Yahoo»Actualizar OAuth2 Yahoo del proyecto
PATCH /project/oauth2/yahoo · página del método
SDK: solo @owbase/node
Update the project OAuth2 Yahoo configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID, also known as Customer Key’ of Yahoo OAuth2 app. For example: dj0yJm000000000000000000000000000000000000000000000000000000000000000000000000000000000000Z4PWRm |
clientSecret |
string |
no | ‘Client Secret, also known as Customer Secret’ of Yahoo OAuth2 app. For example: cf978f0000000000000000000000000000c5e2e9 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Yahoo({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Yandex
Sección titulada «updateOAuth2Yandex»Actualizar OAuth2 Yandex del proyecto
PATCH /project/oauth2/yandex · página del método
SDK: solo @owbase/node
Update the project OAuth2 Yandex configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Yandex OAuth2 app. For example: 6a8a6a0000000000000000000091483c |
clientSecret |
string |
no | ‘Client Secret’ of Yandex OAuth2 app. For example: bbf98500000000000000000000c75a63 |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Yandex({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});updateOAuth2Zoho
Sección titulada «updateOAuth2Zoho»Actualizar OAuth2 Zoho del proyecto
PATCH /project/oauth2/zoho · página del método
SDK: solo @owbase/node
Update the project OAuth2 Zoho configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Zoho OAuth2 app. For example: 1000.83C178000000000000000000RPNX0B |
clientSecret |
string |
no | ‘Client Secret’ of Zoho OAuth2 app. For example: fb5cac000000000000000000000000000000a68f6e |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
prompt |
ProjectOAuth2ZohoPrompt[] |
no | Array of Zoho OAuth2 prompt values. “consent” means: prompt the user for consent. Pass an empty array to use the Zoho default. Valores: consent. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project, ProjectOAuth2ZohoPrompt } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Zoho({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional prompt: [ProjectOAuth2ZohoPrompt.Consent], // optional});updateOAuth2Zoom
Sección titulada «updateOAuth2Zoom»Actualizar OAuth2 Zoom del proyecto
PATCH /project/oauth2/zoom · página del método
SDK: solo @owbase/node
Update the project OAuth2 Zoom configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
clientId |
string |
no | ‘Client ID’ of Zoom OAuth2 app. For example: QMAC00000000000000w0AQ |
clientSecret |
string |
no | ‘Client Secret’ of Zoom OAuth2 app. For example: GAWsG4000000000000000000007U01ON |
enabled |
boolean |
no | OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. |
Acceso: clave de API con el alcance project.oauth2.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateOAuth2Zoom({ clientId: '<CLIENT_ID>', // optional clientSecret: '<CLIENT_SECRET>', // optional enabled: false, // optional});getOAuth2Provider
Sección titulada «getOAuth2Provider»Obtener proveedor OAuth2 del proyecto
GET /project/oauth2/{providerId} · página del método
SDK: solo @owbase/node
Get a single OAuth2 provider configuration. Credential fields (client secret, p8 file, key/team IDs) are write-only and always returned empty.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
providerId |
ProjectOAuthProviderId |
sí | OAuth2 provider key. For example: github, google, apple. Valores: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, cloudflare, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, fusionauth, github, gitlab, google, huggingface, kakao, keycloak, kick, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, resend, salesforce, slack, spotify, stripe, tiktok, tradeshift, tradeshiftBox, twitch, webflow, wordpress, x, yahoo, yammer, yandex, zoho, zoom. |
Acceso: clave de API con el alcance project.oauth2.read.
import { Client, Project, ProjectOAuthProviderId } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.getOAuth2Provider({ providerId: ProjectOAuthProviderId.Amazon,});listPlatforms
Sección titulada «listPlatforms»Listar plataformas del proyecto
GET /project/platforms · página del método
SDK: solo @owbase/node
Get a list of all platforms in the project. This endpoint returns an array of all platforms and their configurations.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
queries |
string[] |
no | Array of query strings generated using the Query class provided by the SDK. Learn more about queries. Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: type, name, hostname, bundleIdentifier, applicationId, packageIdentifierName, packageName |
total |
boolean |
no | When set to false, the total count returned will be 0 and will not be calculated. |
Acceso: clave de API con el alcance platforms.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.listPlatforms({ queries: [], // optional total: false, // optional});createAndroidPlatform
Sección titulada «createAndroidPlatform»Crear plataforma Android del proyecto
POST /project/platforms/android · página del método
SDK: solo @owbase/node
Create a new Android platform for your project. Use this endpoint to register a new Android platform where your users will run your application which will interact with the Owbase API.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. Choose a custom ID or generate a random ID with ID.unique(). Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can’t start with a special char. Max length is 36 chars. |
name |
string |
sí | Platform name. Max length: 128 chars. |
applicationId |
string |
sí | Android application ID. Max length: 256 chars. |
fingerprints |
string[] |
no | SHA-256 fingerprints of the certificates your app is signed with, such as “14:6D:E9:…:2B:6A”. Passkeys created in the app are accepted when its signature matches one. Find them under App signing in Play Console, or with ./gradlew signingReport. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.createAndroidPlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', applicationId: '<APPLICATION_ID>', fingerprints: [], // optional});updateAndroidPlatform
Sección titulada «updateAndroidPlatform»Actualizar plataforma Android del proyecto
PUT /project/platforms/android/{platformId} · página del método
SDK: solo @owbase/node
Update an Android platform by its unique ID. Use this endpoint to update the platform’s name, application ID or signing certificate fingerprints.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. |
name |
string |
sí | Platform name. Max length: 128 chars. |
applicationId |
string |
sí | Android application ID. Max length: 256 chars. |
fingerprints |
string[] |
no | SHA-256 fingerprints of the certificates your app is signed with, such as “14:6D:E9:…:2B:6A”. Passkeys created in the app are accepted when its signature matches one. Find them under App signing in Play Console, or with ./gradlew signingReport. Omit to keep the current list, or pass an empty array to clear it. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateAndroidPlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', applicationId: '<APPLICATION_ID>', fingerprints: [], // optional});createApplePlatform
Sección titulada «createApplePlatform»Crear plataforma Apple del proyecto
POST /project/platforms/apple · página del método
SDK: solo @owbase/node
Create a new Apple platform for your project. Use this endpoint to register a new Apple platform where your users will run your application which will interact with the Owbase API.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. Choose a custom ID or generate a random ID with ID.unique(). Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can’t start with a special char. Max length is 36 chars. |
name |
string |
sí | Platform name. Max length: 128 chars. |
bundleIdentifier |
string |
sí | Apple bundle identifier. Max length: 256 chars. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.createApplePlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', bundleIdentifier: '<BUNDLE_IDENTIFIER>',});updateApplePlatform
Sección titulada «updateApplePlatform»Actualizar plataforma Apple del proyecto
PUT /project/platforms/apple/{platformId} · página del método
SDK: solo @owbase/node
Update an Apple platform by its unique ID. Use this endpoint to update the platform’s name or bundle identifier.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. |
name |
string |
sí | Platform name. Max length: 128 chars. |
bundleIdentifier |
string |
sí | Apple bundle identifier. Max length: 256 chars. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateApplePlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', bundleIdentifier: '<BUNDLE_IDENTIFIER>',});createLinuxPlatform
Sección titulada «createLinuxPlatform»Crear plataforma Linux del proyecto
POST /project/platforms/linux · página del método
SDK: solo @owbase/node
Create a new Linux platform for your project. Use this endpoint to register a new Linux platform where your users will run your application which will interact with the Owbase API.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. Choose a custom ID or generate a random ID with ID.unique(). Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can’t start with a special char. Max length is 36 chars. |
name |
string |
sí | Platform name. Max length: 128 chars. |
packageName |
string |
sí | Linux package name. Max length: 256 chars. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.createLinuxPlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', packageName: '<PACKAGE_NAME>',});updateLinuxPlatform
Sección titulada «updateLinuxPlatform»Actualizar plataforma Linux del proyecto
PUT /project/platforms/linux/{platformId} · página del método
SDK: solo @owbase/node
Update a Linux platform by its unique ID. Use this endpoint to update the platform’s name or package name.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. |
name |
string |
sí | Platform name. Max length: 128 chars. |
packageName |
string |
sí | Linux package name. Max length: 256 chars. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateLinuxPlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', packageName: '<PACKAGE_NAME>',});createWebPlatform
Sección titulada «createWebPlatform»Crear plataforma web del proyecto
POST /project/platforms/web · página del método
SDK: solo @owbase/node
Create a new web platform for your project. Use this endpoint to register a new platform where your users will run your application which will interact with the Owbase API.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. Choose a custom ID or generate a random ID with ID.unique(). Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can’t start with a special char. Max length is 36 chars. |
name |
string |
sí | Platform name. Max length: 128 chars. |
hostname |
string |
sí | Platform web hostname. Max length: 256 chars. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.createWebPlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', hostname: 'app.example.com',});updateWebPlatform
Sección titulada «updateWebPlatform»Actualizar plataforma web del proyecto
PUT /project/platforms/web/{platformId} · página del método
SDK: solo @owbase/node
Update a web platform by its unique ID. Use this endpoint to update the platform’s name or hostname.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. |
name |
string |
sí | Platform name. Max length: 128 chars. |
hostname |
string |
sí | Platform web hostname. Max length: 256 chars. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateWebPlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', hostname: 'app.example.com',});createWindowsPlatform
Sección titulada «createWindowsPlatform»Crear plataforma Windows del proyecto
POST /project/platforms/windows · página del método
SDK: solo @owbase/node
Create a new Windows platform for your project. Use this endpoint to register a new Windows platform where your users will run your application which will interact with the Owbase API.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. Choose a custom ID or generate a random ID with ID.unique(). Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can’t start with a special char. Max length is 36 chars. |
name |
string |
sí | Platform name. Max length: 128 chars. |
packageIdentifierName |
string |
sí | Windows package identifier name. Max length: 256 chars. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.createWindowsPlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', packageIdentifierName: '<PACKAGE_IDENTIFIER_NAME>',});updateWindowsPlatform
Sección titulada «updateWindowsPlatform»Actualizar plataforma Windows del proyecto
PUT /project/platforms/windows/{platformId} · página del método
SDK: solo @owbase/node
Update a Windows platform by its unique ID. Use this endpoint to update the platform’s name or package identifier name.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. |
name |
string |
sí | Platform name. Max length: 128 chars. |
packageIdentifierName |
string |
sí | Windows package identifier name. Max length: 256 chars. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateWindowsPlatform({ platformId: '<PLATFORM_ID>', name: '<NAME>', packageIdentifierName: '<PACKAGE_IDENTIFIER_NAME>',});getPlatform
Sección titulada «getPlatform»Obtener plataforma del proyecto
GET /project/platforms/{platformId} · página del método
SDK: solo @owbase/node
Get a platform by its unique ID. This endpoint returns the platform’s details, including its name, type, and key configurations.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. |
Acceso: clave de API con el alcance platforms.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.getPlatform({ platformId: '<PLATFORM_ID>',});deletePlatform
Sección titulada «deletePlatform»Eliminar plataforma del proyecto
DELETE /project/platforms/{platformId} · página del método
SDK: solo @owbase/node
Delete a platform by its unique ID. This endpoint removes the platform and all its configurations from the project.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
platformId |
string |
sí | Platform ID. |
Acceso: clave de API con el alcance platforms.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.deletePlatform({ platformId: '<PLATFORM_ID>',});listPolicies
Sección titulada «listPolicies»Listar políticas del proyecto
GET /project/policies · página del método
SDK: solo @owbase/node
Get a list of all project policies and their current configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
queries |
string[] |
no | Array of query strings generated using the Query class provided by the SDK. Learn more about queries. Only supported methods are limit and offset |
total |
boolean |
no | When set to false, the total count returned will be 0 and will not be calculated. |
Acceso: clave de API con el alcance policies.read (también acepta project.policies.read).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.listPolicies({ queries: [], // optional total: false, // optional});updateDenyAliasedEmailPolicy
Sección titulada «updateDenyAliasedEmailPolicy»Actualizar política que rechaza correos con alias
PATCH /project/policies/deny-aliased-email · página del método
SDK: solo @owbase/node
Configures if aliased emails such as subaddresses and emails with suffixes are denied during new users sign-ups and email updates.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
sí | Set whether or not to block aliased emails during signup and email updates. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateDenyAliasedEmailPolicy({ enabled: false,});updateDenyCorporateEmailPolicy
Sección titulada «updateDenyCorporateEmailPolicy»Actualizar política que rechaza correos no corporativos
PATCH /project/policies/deny-corporate-email · página del método
SDK: solo @owbase/node
Configures if only corporate email addresses (non-free and non-disposable domains) are allowed during new user sign-ups and email updates.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
sí | Set whether or not to restrict sign-ups and email updates to corporate email addresses only. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateDenyCorporateEmailPolicy({ enabled: false,});updateDenyDisposableEmailPolicy
Sección titulada «updateDenyDisposableEmailPolicy»Actualizar política que rechaza correos desechables
PATCH /project/policies/deny-disposable-email · página del método
SDK: solo @owbase/node
Configures if disposable emails from known temporary domains are denied during new users sign-ups and email updates.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
sí | Set whether or not to block disposable email addresses during signup and email updates. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateDenyDisposableEmailPolicy({ enabled: false,});updateDenyFreeEmailPolicy
Sección titulada «updateDenyFreeEmailPolicy»Actualizar política que rechaza correos gratuitos
PATCH /project/policies/deny-free-email · página del método
SDK: solo @owbase/node
Configures if emails from free providers such as Gmail or Yahoo are denied during new users sign-ups and email updates.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
sí | Set whether or not to block free email addresses during signup and email updates. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateDenyFreeEmailPolicy({ enabled: false,});updateDenyRealtimeGuestsPolicy
Sección titulada «updateDenyRealtimeGuestsPolicy»Update deny realtime guests policy
PATCH /project/policies/deny-realtime-guests · página del método
SDK: solo @owbase/node
Configures if guests, connections without a signed-in user, may subscribe to realtime channels. When enabled, a guest can still connect and sign in over the connection, but cannot subscribe until it does.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
sí | Set whether or not to stop guests from subscribing to realtime channels. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateDenyRealtimeGuestsPolicy({ enabled: false,});updateMembershipPrivacyPolicy
Sección titulada «updateMembershipPrivacyPolicy»Actualizar política de privacidad de las membresías
PATCH /project/policies/membership-privacy · página del método
SDK: solo @owbase/node
Updating this policy allows you to control if team members can see other members information. When enabled, all team members can see ID, name, email, phone number, and MFA status of other members..
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
userId |
boolean |
no | Set to true if you want make user ID visible to all team members, or false to hide it. |
userEmail |
boolean |
no | Set to true if you want make user email visible to all team members, or false to hide it. |
userPhone |
boolean |
no | Set to true if you want make user phone number visible to all team members, or false to hide it. |
userName |
boolean |
no | Set to true if you want make user name visible to all team members, or false to hide it. |
userMFA |
boolean |
no | Set to true if you want make user MFA status visible to all team members, or false to hide it. |
userAccessedAt |
boolean |
no | Set to true if you want make user last access time visible to all team members, or false to hide it. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateMembershipPrivacyPolicy({ userId: false, // optional userEmail: false, // optional userPhone: false, // optional userName: false, // optional userMFA: false, // optional userAccessedAt: false, // optional});updateMFAFactorsPolicy
Sección titulada «updateMFAFactorsPolicy»Actualizar política de factores MFA
PATCH /project/policies/mfa-factors · página del método
SDK: solo @owbase/node
Updating this policy allows you to control which factors users can use to complete an MFA challenge. Disabled factors cannot be used to create a challenge and are reported as unavailable when listing factors. The custom factor is disabled by default; enable it to deliver challenge codes through your own channel. Recovery codes always remain available as a fallback.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
totp |
boolean |
no | Set to true to allow TOTP to complete an MFA challenge, or false to disable it. |
email |
boolean |
no | Set to true to allow email to complete an MFA challenge, or false to disable it. |
phone |
boolean |
no | Set to true to allow phone (SMS) to complete an MFA challenge, or false to disable it. |
custom |
boolean |
no | Set to true to allow the custom factor to complete an MFA challenge, or false to disable it. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateMFAFactorsPolicy({ totp: false, // optional email: false, // optional phone: false, // optional custom: false, // optional});updatePasskeyPolicy
Sección titulada «updatePasskeyPolicy»Actualizar política de passkeys
PATCH /project/policies/passkey · página del método
SDK: solo @owbase/node
Set the relying party ID passkeys are bound to: the domain of your application. Passkeys work on the project’s web platforms on that domain or its subdomains, and on the domain itself for Apple apps. A localhost web platform enables passkeys for local development without a relying party ID. The relying party ID cannot change while users have passkeys, and any change invalidates ceremonies in progress.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
rpId |
string |
sí | Relying party ID: the domain of your application, such as example.com. Use localhost for local development, or an empty string to unset it. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updatePasskeyPolicy({ rpId: '<RP_ID>',});updatePasswordDictionaryPolicy
Sección titulada «updatePasswordDictionaryPolicy»Actualizar política de diccionario de contraseñas
PATCH /project/policies/password-dictionary · página del método
SDK: solo @owbase/node
Updating this policy allows you to control if new passwords are checked against most common passwords dictionary. When enabled, and user changes their password, password must not be contained in the dictionary.
Custom denyList entries use case-sensitive equality and apply only while this policy is enabled. Omit denyList or pass null to preserve it, pass an array to replace it, or pass [] to clear it. Entries are stored without trimming or deduplication. Existing passwords remain valid for sign-in and password confirmation. The combined serialized project authentication configuration must fit within 16,384 characters, even when each list meets its entry limits.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
sí | Toggle password dictionary policy. Set to true if you want password change to block passwords in the dictionary, or false to allow them. When changing this policy, existing passwords remain valid. |
denyList |
string[] |
no | Custom blocked values using case-sensitive equality. Up to 100 entries of 1 to 256 characters. Omit or pass null to preserve, an array to replace, or [] to clear. Combined authentication settings must fit within 16,384 characters. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updatePasswordDictionaryPolicy({ enabled: false, denyList: [], // optional});updatePasswordHistoryPolicy
Sección titulada «updatePasswordHistoryPolicy»Actualizar política de historial de contraseñas
PATCH /project/policies/password-history · página del método
SDK: solo @owbase/node
Updates one of password strength policies. Based on total length configured, previous password hashes are stored, and users cannot choose a new password that is already stored in the passwird history list, when updating an user password, or setting new one through password recovery.
Keep in mind, while password history policy is disabled, the history is not being stored. Enabling the policy will not have any history on existing users, and it will only start to collect and enforce the policy on password changes since the policy is enabled.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
total |
number |
no | Set the password history length per user. Value can be between 1 and 20, or null to disable the limit. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updatePasswordHistoryPolicy({ total: 1,});updatePasswordPersonalDataPolicy
Sección titulada «updatePasswordPersonalDataPolicy»Actualizar política de datos personales en la contraseña
PATCH /project/policies/password-personal-data · página del método
SDK: solo @owbase/node
Updating this policy allows you to control if password strength is checked against personal data. When enabled, and user sets or changes their password, the password must not contain user ID, name, email or phone number.
Custom denyList entries use case-insensitive substring matching and apply only while this policy is enabled. Omit denyList or pass null to preserve it, pass an array to replace it, or pass [] to clear it. Entries are stored without trimming or deduplication. Existing passwords remain valid for sign-in and password confirmation. The combined serialized project authentication configuration must fit within 16,384 characters, even when each list meets its entry limits. Password recovery also checks the recovered user profile, closing the previous gap in profile-based personal-data validation.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
sí | Toggle password personal data policy. Set to true if you want to block passwords including user’s personal data, or false to allow it. When changing this policy, existing passwords remain valid. |
denyList |
string[] |
no | Custom blocked values using case-insensitive substring matching. Up to 100 entries of 1 to 256 characters. Omit or pass null to preserve, an array to replace, or [] to clear. Combined authentication settings must fit within 16,384 characters. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updatePasswordPersonalDataPolicy({ enabled: false, denyList: [], // optional});updatePasswordPwnedPolicy
Sección titulada «updatePasswordPwnedPolicy»Actualizar política de contraseñas filtradas
PATCH /project/policies/password-pwned · página del método
SDK: solo @owbase/node
Updating this policy allows you to control if passwords are checked against the Have I Been Pwned breach database. When enabled, every password a user signs up, signs in or resets with is checked and the result is recorded on the user as passwordPwned. On its own the policy only records. Enable users to reject a breached password when a user signs up or sets a new password, and sessions to refuse a sign-in with a breached password until it is reset. Only the first five characters of the password hash are ever shared with the service. Options left out keep their current value.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
no | Toggle password pwned policy. Set to true to check passwords against known data breaches and record the result on the user, or false to never check. Default is true. On its own this only records; use users and sessions to block. When changing this policy, existing passwords remain valid. |
sessions |
boolean |
no | Whether a sign-in with a breached password is refused until the password is reset. Default is false, which allows the sign-in and only records the result. |
users |
boolean |
no | Whether a breached password is rejected when a user signs up or sets a new password. Default is false, which allows the password and only records the result. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updatePasswordPwnedPolicy({ enabled: false, // optional sessions: false, // optional users: false, // optional});updatePasswordRotationPolicy
Sección titulada «updatePasswordRotationPolicy»Actualizar política de rotación de contraseñas
PATCH /project/policies/password-rotation · página del método
SDK: solo @owbase/node
Require a password reset when an email/password sign-in uses a password older than the configured maximum age. Options left out keep their current value.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
no | Enable password rotation. Disabled by default. |
maxAge |
number |
no | Maximum password age in seconds. Minimum allowed value is 86400 seconds (1 day), and maximum is 10 years, which is 315360000 seconds. Defaults to 1 year, which is 31536000 seconds. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updatePasswordRotationPolicy({ enabled: false, // optional maxAge: 86400, // optional});updatePasswordStrengthPolicy
Sección titulada «updatePasswordStrengthPolicy»Actualizar política de fuerza de la contraseña
PATCH /project/policies/password-strength · página del método
SDK: solo @owbase/node
Update the password strength requirements for users in the project.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
min |
number |
no | Minimum password length. Value must be between 8 and 256. Default is 8. |
uppercase |
boolean |
no | Whether passwords must include at least one uppercase letter. |
lowercase |
boolean |
no | Whether passwords must include at least one lowercase letter. |
number |
boolean |
no | Whether passwords must include at least one number. |
symbols |
boolean |
no | Whether passwords must include at least one symbol. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updatePasswordStrengthPolicy({ min: 8, // optional uppercase: false, // optional lowercase: false, // optional number: false, // optional symbols: false, // optional});updateSessionAlertPolicy
Sección titulada «updateSessionAlertPolicy»Actualizar política de alerta de sesión
PATCH /project/policies/session-alert · página del método
SDK: solo @owbase/node
Updating this policy allows you to control if email alert is sent upon session creation. When enabled, and user signs into their account, they will be sent an email notification. There is an exception, the first session after a new sign up does not trigger an alert, even if the policy is enabled.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
sí | Toggle session alert policy. Set to true if you want users to receive email notifications when a sessions are created for their users, or false to not send email alerts. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateSessionAlertPolicy({ enabled: false,});updateSessionDurationPolicy
Sección titulada «updateSessionDurationPolicy»Actualizar política de duración de la sesión
PATCH /project/policies/session-duration · página del método
SDK: solo @owbase/node
Update maximum duration how long sessions created within a project should stay active for.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
duration |
number |
sí | Maximum session length in seconds. Minium allowed value is 60 seconds, and maximum is 1 year, which is 31536000 seconds. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateSessionDurationPolicy({ duration: 60,});updateSessionInvalidationPolicy
Sección titulada «updateSessionInvalidationPolicy»Actualizar política de invalidación de sesiones
PATCH /project/policies/session-invalidation · página del método
SDK: solo @owbase/node
Updating this policy allows you to control if existing sessions should be invalidated when a password of a user is changed. When enabled, and user changes their password, they will be logged out of all their devices.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
enabled |
boolean |
sí | Toggle session invalidation policy. Set to true if you want password change to invalidate all sessions of an user, or false to keep sessions active. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateSessionInvalidationPolicy({ enabled: false,});updateSessionLimitPolicy
Sección titulada «updateSessionLimitPolicy»Actualizar política de límite de sesiones
PATCH /project/policies/session-limit · página del método
SDK: solo @owbase/node
Update the maximum number of sessions allowed per user. When the limit is hit, the oldest session will be deleted to make room for new one.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
total |
number |
sí | Set the maximum number of sessions allowed per user. Value can be between 1 and 100. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateSessionLimitPolicy({ total: 1,});updateUserLimitPolicy
Sección titulada «updateUserLimitPolicy»Actualizar política de límite de usuarios
PATCH /project/policies/user-limit · página del método
SDK: solo @owbase/node
Update the maximum number of users in the project. When the limit is hit or amount of existing users already exceeded the limit, all users remain active, but new user sign up will be prohibited.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
total |
number |
no | Set the maximum number of users allowed in the project. Value can be between 0 and 10000. Use 0 or null to disable the limit. |
Acceso: clave de API con el alcance policies.write (también acepta project.policies.write).
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateUserLimitPolicy({ total: 0,});getPolicy
Sección titulada «getPolicy»Obtener política del proyecto
GET /project/policies/{policyId} · página del método
SDK: solo @owbase/node
Get a policy by its unique ID. This endpoint returns the current configuration for the requested project policy.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
policyId |
ProjectPolicyId |
sí | Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, password-rotation, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email, deny-realtime-guests, passkey. Valores: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, password-rotation, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email, deny-realtime-guests, passkey. |
Acceso: clave de API con el alcance policies.read (también acepta project.policies.read).
import { Client, Project, ProjectPolicyId } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.getPolicy({ policyId: ProjectPolicyId.PasswordDictionary,});getPrefs
Sección titulada «getPrefs»Get project preferences
GET /project/prefs · página del método
SDK: solo @owbase/node
Get the project preferences. Preferences are a key-value object stored on the project for anyone working on it.
Sin parámetros.
Acceso: clave de API con el alcance project.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.getPrefs();updatePrefs
Sección titulada «updatePrefs»Update project preferences
PUT /project/prefs · página del método
SDK: solo @owbase/node
Update the project preferences. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
prefs |
object |
sí | Prefs key-value JSON object. |
Acceso: clave de API con el alcance project.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updatePrefs({ prefs: {},});updateProtocol
Sección titulada «updateProtocol»Actualizar protocolo del proyecto
PATCH /project/protocols/{protocolId} · página del método
SDK: solo @owbase/node
Update properties of a specific protocol. Use this endpoint to enable or disable a protocol in your project.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
protocolId |
ProjectProtocolId |
sí | Protocol name. Can be one of: rest, graphql, websocket Valores: rest, graphql, websocket. |
enabled |
boolean |
sí | Protocol status. |
Acceso: clave de API con el alcance project.write.
import { Client, Project, ProjectProtocolId } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateProtocol({ protocolId: ProjectProtocolId.Rest, enabled: false,});updateService
Sección titulada «updateService»Actualizar servicio del proyecto
PATCH /project/services/{serviceId} · página del método
SDK: solo @owbase/node
Update properties of a specific service. Use this endpoint to enable or disable a service in your project.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
serviceId |
ProjectServiceId |
sí | Service name. Can be one of: account, avatars, databases, tablesdb, locale, health, project, storage, teams, users, vcs, sites, functions, proxy, graphql, migrations, messaging, advisor Valores: account, avatars, databases, tablesdb, locale, health, project, storage, teams, users, vcs, sites, functions, proxy, graphql, migrations, messaging, advisor. |
enabled |
boolean |
sí | Service status. |
Acceso: clave de API con el alcance project.write.
import { Client, Project, ProjectServiceId } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateService({ serviceId: ProjectServiceId.Account, enabled: false,});deleteSessions
Sección titulada «deleteSessions»Delete all project sessions
DELETE /project/sessions · página del método
SDK: solo @owbase/node
Delete all sessions in the project. Any session created before this request will be invalidated immediately: users will be signed out of every active client (web, mobile, server SDKs, JWTs), and will be able to sign in again afterwards. API keys are not affected by this action.
Sin parámetros.
Acceso: clave de API con el alcance users.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.deleteSessions();updateSMTP
Sección titulada «updateSMTP»Actualizar configuración SMTP del proyecto
PATCH /project/smtp · página del método
SDK: solo @owbase/node
Update the SMTP configuration for your project. Use this endpoint to configure your project’s SMTP provider with your custom settings for sending transactional emails.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
host |
string |
no | SMTP server hostname (domain) |
port |
number |
no | SMTP server port |
username |
string |
no | SMTP server username. Pass an empty string to clear a previously set value. |
password |
string |
no | SMTP server password. Pass an empty string to clear a previously set value. This property is stored securely and cannot be read in future (write-only). |
senderEmail |
string |
no | Email address shown in inbox as the sender of the email. Pass an empty string to clear a previously set value. |
senderName |
string |
no | Name shown in inbox as the sender of the email. Pass an empty string to clear a previously set value. |
replyToEmail |
string |
no | Email used when user replies to the email. Pass an empty string to clear a previously set value. |
replyToName |
string |
no | Name used when user replies to the email. Pass an empty string to clear a previously set value. |
secure |
ProjectSMTPSecure |
no | Configures if communication with SMTP server is encrypted. Allowed values are: tls, ssl. Leave empty for no encryption. Valores: tls, ssl. |
enabled |
boolean |
no | Enable or disable custom SMTP. Custom SMTP is useful for branding purposes, but also allows use of custom email templates. |
Acceso: clave de API con el alcance project.write.
import { Client, Project, ProjectSMTPSecure } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateSMTP({ host: 'example.com', // optional port: 587, // optional username: '<USERNAME>', // optional password: 'password', // optional senderName: '<SENDER_NAME>', // optional replyToName: '<REPLY_TO_NAME>', // optional secure: ProjectSMTPSecure.Tls, // optional enabled: false, // optional});createSMTPTest
Sección titulada «createSMTPTest»Crear prueba SMTP del proyecto
POST /project/smtp/tests · página del método
SDK: solo @owbase/node
Send a test email to verify SMTP configuration.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
emails |
string[] |
sí | Array of emails to send test email to. Maximum of 10 emails are allowed. |
Acceso: clave de API con el alcance project.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.createSMTPTest({});listEmailTemplates
Sección titulada «listEmailTemplates»Listar plantillas de correo del proyecto
GET /project/templates/email · página del método
SDK: solo @owbase/node
Get a list of all custom email templates configured for the project. This endpoint returns an array of all configured email templates and their locales.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
queries |
string[] |
no | Array of query strings generated using the Query class provided by the SDK. Learn more about queries. Only supported methods are limit and offset |
total |
boolean |
no | When set to false, the total count returned will be 0 and will not be calculated. |
Acceso: clave de API con el alcance templates.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.listEmailTemplates({ queries: [], // optional total: false, // optional});updateEmailTemplate
Sección titulada «updateEmailTemplate»Actualizar plantilla de correo del proyecto
PATCH /project/templates/email · página del método
SDK: solo @owbase/node
Update a custom email template for the specified locale and type. Use this endpoint to modify the content of your email templates.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
templateId |
ProjectEmailTemplateId |
sí | Custom email template type. Can be one of: verification, magicSession, recovery, invitation, mfaChallenge, sessionAlert, otpSession, otpVerification, otpRecovery Valores: verification, magicSession, recovery, invitation, mfaChallenge, sessionAlert, otpSession, otpVerification, otpRecovery. |
locale |
ProjectEmailTemplateLocale |
no | Custom email template locale. If left empty, the fallback locale (en) will be used. Valores: af, ar-ae, ar-bh, ar-dz, ar-eg, ar-iq, ar-jo, ar-kw, ar-lb, ar-ly, ar-ma, ar-om, ar-qa, ar-sa, ar-sy, ar-tn, ar-ye, as, az, be, bg, bh, bn, bs, ca, cs, cy, da, de, de-at, de-ch, de-li, de-lu, el, en, en-au, en-bz, en-ca, en-gb, en-ie, en-jm, en-nz, en-tt, en-us, en-za, eo, es, es-ar, es-bo, es-cl, es-co, es-cr, es-do, es-ec, es-gt, es-hn, es-mx, es-ni, es-pa, es-pe, es-pr, es-py, es-sv, es-uy, es-ve, et, eu, fa, fi, fo, fr, fr-be, fr-ca, fr-ch, fr-lu, ga, gd, he, hi, hr, hu, id, is, it, it-ch, ja, ji, ko, ku, lt, lv, mk, ml, ms, mt, nb, ne, nl, nl-be, nn, no, pa, pl, pt, pt-br, rm, ro, ro-md, ru, ru-md, sb, sk, sl, sq, sr, sv, sv-fi, th, tn, tr, ts, ua, ur, ve, vi, xh, zh-cn, zh-hk, zh-sg, zh-tw, zu. |
subject |
string |
no | Subject of the email template. Can be up to 255 characters. |
message |
string |
no | Plain or HTML body of the email template message. Can be up to 10MB of content. |
senderName |
string |
no | Name of the email sender. |
senderEmail |
string |
no | Email of the sender. Pass an empty string to clear a previously set value. |
replyToEmail |
string |
no | Reply to email. Pass an empty string to clear a previously set value. |
replyToName |
string |
no | Reply to name. |
Acceso: clave de API con el alcance templates.write.
import { Client, Project, ProjectEmailTemplateId, ProjectEmailTemplateLocale } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateEmailTemplate({ templateId: ProjectEmailTemplateId.Verification, locale: ProjectEmailTemplateLocale.Af, // optional subject: '<SUBJECT>', // optional message: '<MESSAGE>', // optional senderName: '<SENDER_NAME>', // optional replyToName: '<REPLY_TO_NAME>', // optional});getEmailTemplate
Sección titulada «getEmailTemplate»Obtener plantilla de correo del proyecto
GET /project/templates/email/{templateId} · página del método
SDK: solo @owbase/node
Get a custom email template for the specified locale and type. This endpoint returns the template content, subject, and other configuration details.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
templateId |
ProjectEmailTemplateId |
sí | Custom email template type. Can be one of: verification, magicSession, recovery, invitation, mfaChallenge, sessionAlert, otpSession, otpVerification, otpRecovery Valores: verification, magicSession, recovery, invitation, mfaChallenge, sessionAlert, otpSession, otpVerification, otpRecovery. |
locale |
ProjectEmailTemplateLocale |
no | Custom email template locale. If left empty, the fallback locale (en) will be used. Valores: af, ar-ae, ar-bh, ar-dz, ar-eg, ar-iq, ar-jo, ar-kw, ar-lb, ar-ly, ar-ma, ar-om, ar-qa, ar-sa, ar-sy, ar-tn, ar-ye, as, az, be, bg, bh, bn, bs, ca, cs, cy, da, de, de-at, de-ch, de-li, de-lu, el, en, en-au, en-bz, en-ca, en-gb, en-ie, en-jm, en-nz, en-tt, en-us, en-za, eo, es, es-ar, es-bo, es-cl, es-co, es-cr, es-do, es-ec, es-gt, es-hn, es-mx, es-ni, es-pa, es-pe, es-pr, es-py, es-sv, es-uy, es-ve, et, eu, fa, fi, fo, fr, fr-be, fr-ca, fr-ch, fr-lu, ga, gd, he, hi, hr, hu, id, is, it, it-ch, ja, ji, ko, ku, lt, lv, mk, ml, ms, mt, nb, ne, nl, nl-be, nn, no, pa, pl, pt, pt-br, rm, ro, ro-md, ru, ru-md, sb, sk, sl, sq, sr, sv, sv-fi, th, tn, tr, ts, ua, ur, ve, vi, xh, zh-cn, zh-hk, zh-sg, zh-tw, zu. |
Acceso: clave de API con el alcance templates.read.
import { Client, Project, ProjectEmailTemplateId, ProjectEmailTemplateLocale } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.getEmailTemplate({ templateId: ProjectEmailTemplateId.Verification, locale: ProjectEmailTemplateLocale.Af, // optional});listVariables
Sección titulada «listVariables»Listar variables del proyecto
GET /project/variables · página del método
SDK: solo @owbase/node
Get a list of all project environment variables.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
queries |
string[] |
no | Array of query strings generated using the Query class provided by the SDK. Learn more about queries. Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, resourceType, resourceId, secret |
total |
boolean |
no | When set to false, the total count returned will be 0 and will not be calculated. |
Acceso: clave de API con el alcance project.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.listVariables({ queries: [], // optional total: false, // optional});createVariable
Sección titulada «createVariable»Crear variable del proyecto
POST /project/variables · página del método
SDK: solo @owbase/node
Create a new project environment variable. These variables can be accessed by all functions and sites in the project.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
variableId |
string |
sí | Variable unique ID. Choose a custom ID or generate a random ID with ID.unique(). Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can’t start with a special char. Max length is 36 chars. |
key |
string |
sí | Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars. |
value |
string |
sí | Variable value. Max length: 8192 chars. |
secret |
boolean |
no | Secret variables can be updated or deleted, but only projects can read them during build and runtime. |
description |
string |
no | Optional description for the variable. |
Acceso: clave de API con el alcance project.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.createVariable({ variableId: '<VARIABLE_ID>', key: '<KEY>', value: '<VALUE>', secret: false, // optional description: '<DESCRIPTION>', // optional});getVariable
Sección titulada «getVariable»Obtener variable del proyecto
GET /project/variables/{variableId} · página del método
SDK: solo @owbase/node
Get a variable by its unique ID.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
variableId |
string |
sí | Variable unique ID. |
Acceso: clave de API con el alcance project.read.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.getVariable({ variableId: '<VARIABLE_ID>',});updateVariable
Sección titulada «updateVariable»Actualizar variable del proyecto
PUT /project/variables/{variableId} · página del método
SDK: solo @owbase/node
Update variable by its unique ID.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
variableId |
string |
sí | Variable unique ID. |
key |
string |
no | Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars. |
value |
string |
no | Variable value. Max length: 8192 chars. |
secret |
boolean |
no | Secret variables can be updated or deleted, but only projects can read them during build and runtime. |
description |
string |
no | Optional description for the variable. |
Acceso: clave de API con el alcance project.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.updateVariable({ variableId: '<VARIABLE_ID>', key: '<KEY>', // optional value: '<VALUE>', // optional secret: false, // optional description: '<DESCRIPTION>', // optional});deleteVariable
Sección titulada «deleteVariable»Eliminar variable del proyecto
DELETE /project/variables/{variableId} · página del método
SDK: solo @owbase/node
Delete a variable by its unique ID.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
variableId |
string |
sí | Variable unique ID. |
Acceso: clave de API con el alcance project.write.
import { Client, Project } from '@owbase/node';
const client = new Client() .setEndpoint('https://cloud.owbase.dev/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const project = new Project(client);
const result = await project.deleteVariable({ variableId: '<VARIABLE_ID>',});Las descripciones de esta página vienen de la especificación de la API del servidor (licencia BSD-3-Clause), en inglés, y los ejemplos vienen del generador de SDKs (licencia MIT). Los avisos completos están en el archivo NOTICE de los paquetes @owbase/web y @owbase/node.