Skip to main content
GET
/
deployment
Get deployment configuration
curl --request GET \
  --url https://api.wacht.dev/deployment \
  --cookie session_id=
{
  "id": "999999999999999999",
  "name": "Production",
  "backend_host": "api.wacht.dev",
  "enabled": true,
  "b2b_settings": {
    "organizations_enabled": true,
    "workspaces_enabled": true,
    "limit_org_creation_per_user": false,
    "max_orgs_per_user": 10,
    "limit_workspace_creation_per_org": true,
    "workspaces_per_org_count": 5,
    "default_org_creator_role_id": "111111111111111111",
    "enforce_mfa_per_org_enabled": false,
    "ip_allowlist_per_org_enabled": false,
    "enforce_mfa_per_workspace_enabled": false,
    "ip_allowlist_per_workspace_enabled": false
  },
  "ui_settings": {
    "default_organization_profile_image_url": "https://cdn.wacht.dev/default-org.png",
    "default_workspace_profile_image_url": "https://cdn.wacht.dev/default-ws.png",
    "theme": "light",
    "primary_color": "#4f46e5",
    "logo_url": "<string>"
  },
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:30:00Z"
}

Authorizations

session_id
string
cookie
required

Session-based authentication using cookies

Response

Deployment configuration retrieved

id
string<uint64>

Deployment ID

Example:

"999999999999999999"

name
string

Deployment name

Example:

"Production"

backend_host
string

Backend API host

Example:

"api.wacht.dev"

enabled
boolean

Whether deployment is enabled

Example:

true

b2b_settings
object
ui_settings
object
created_at
string<date-time>
Example:

"2024-01-15T10:30:00Z"

updated_at
string<date-time>
Example:

"2024-01-15T10:30:00Z"