Skip to main content
POST
Add a database to shared hosting

Autorisations

Authorization
string
header
requis

API token (olab_…) created in Settings → API tokens or with orbitlab login.

En-têtes

X-OrbitLab-Org
string

Organization to act on (id or slug) for tokens that can access several organizations. Defaults to your first organization.

Paramètres de chemin

id
string
requis

Service id.

Corps

application/json
name
string
requis

Lowercase letters, digits, underscores (max 64).

username
string

Defaults to name (max 32).

Réponse

database including the generated password.

The response is of type object.