---
title: "Enable a draft SAML connection for real Auth0 clients"
method: POST
path: "/sso/connections/{connection_id}/activate"
tags: ["sso"]
---

# Enable a draft SAML connection for real Auth0 clients

`POST /sso/connections/{connection_id}/activate`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/sso/connections/{connection_id}/activate`
- Auth: API key in header `Authorization`

Called by the frontend 'Create Connection' button ONLY after
the admin has completed a successful test login via the test_login_url.
This is a no-op guard — if the connection is already active it returns an error.

## Request body

- SAMLActivateConnection
  - `invoice_profile_name` string: Invoice profile display name to link with this connection
  - `invoice_profile_id` integer: Invoice profile ID (alternative to invoice_profile_name)
  - `display_name` string: Updated display name for login button
  - `domain_aliases` string[]: Identity Provider domains for Home Realm Discovery
  - `fields_map` object: SAML attribute mapping object

## Response `200`

Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
