Connections API
Configure the external services ThunderID connects to. This is a thin layer over the identity-provider and notification-sender services: each connection type has a strict, vendor-specific schema and is delegated to the underlying provider, so a configured connection is a real identity provider or message sender. Multiple instances per type are supported.
Download the OpenAPI definition (YAML)
Security schemes
OAuth2: oauth2
authorizationCode flow, token URL https://localhost:8090/oauth2/token, authorization URL https://localhost:8090/oauth2/authorize
1 scopes
| Scope | Description |
|---|---|
system | Access to system management APIs |
clientCredentials flow, token URL https://localhost:8090/oauth2/token
1 scopes
| Scope | Description |
|---|---|
system | Access to system management APIs |
Connections
Discover available connection types and configure their instances.
List configured connection instances
GET /connections
Returns a paginated list of the configured connection instances across the identity-provider, notification-sender, authorization PDP and HTTP endpoint connection types, optionally filtered by functional category. Omit the category parameter to return all instances.
An ouId filter lists the connections the organization unit owns, then those shared into it, with isOwnedByOU telling them apart. A shared connection carries the ouId of the organization unit in the filter, not its owner's.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
category | query | string | Filter instances by functional category. Omit to return all instances. Allowed values: | |
filter | query | string | Filter connections by organization unit with | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | A page of the configured connection instances | ConnectionListResponse |
400 | The category is not recognized (CON-1001), the filter is not a single | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
List configured AuthZEN PDP connections
GET /connections/authzen-pdp
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured AuthZEN PDP connections | array of ConnectionInstanceSummary |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create an AuthZEN PDP connection
POST /connections/authzen-pdp
Scopes: system
Request body (required): application/json
Schema: AuthZENPDPConnectionCreateRequest
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
endpoint | string (uri) | Yes | HTTP endpoint for a single AuthZEN access evaluation. |
batchEndpoint | string (uri) | Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint. | |
timeoutMs | integer | Timeout for each PDP request in milliseconds. Default: | |
retryCount | integer | Number of retries for transient PDP or network failures. Default: | |
subjectAttributeMappings | array of AuthZENPDPSubjectAttributeMapping | ||
authentication | OutboundAuthentication | How ThunderID authenticates itself on an outbound call. The Credential values are stored encrypted and returned as |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | AuthZENPDPConnectionResponse |
400 | Invalid AuthZEN PDP connection request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | An AuthZEN PDP connection with the same name already exists | Error |
500 | Internal server error | Error |
Get an AuthZEN PDP connection
GET /connections/authzen-pdp/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details | AuthZENPDPConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Update an AuthZEN PDP connection
PUT /connections/authzen-pdp/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: AuthZENPDPConnectionUpdateRequest
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
endpoint | string (uri) | Yes | HTTP endpoint for a single AuthZEN access evaluation. |
batchEndpoint | string (uri) | Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint. | |
timeoutMs | integer | Timeout for each PDP request in milliseconds. Default: | |
retryCount | integer | Number of retries for transient PDP or network failures. Default: | |
subjectAttributeMappings | array of AuthZENPDPSubjectAttributeMapping | ||
authentication | OutboundAuthentication | How ThunderID authenticates itself on an outbound call. The Credential values are stored encrypted and returned as |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | AuthZENPDPConnectionResponse |
400 | Invalid AuthZEN PDP connection request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | An AuthZEN PDP connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete an AuthZEN PDP connection
DEL /connections/authzen-pdp/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The connection cannot be deleted because it is still in use | Error |
500 | Internal server error | Error |
Get AuthZEN PDP connection usages
GET /connections/authzen-pdp/{id}/usages
Returns the resource servers that reference this AuthZEN PDP connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
List configured HTTP endpoint connections
GET /connections/http
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured HTTP endpoint connections | array of ConnectionInstanceSummary |
400 | The HTTP endpoint connections exceed the composite-mode record limit | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create an HTTP endpoint connection
POST /connections/http
Scopes: system
Request body (required): application/json
Schema: HTTPConnectionCreateRequest
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique per deployment. |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
url | string (uri) | Yes | Absolute |
timeoutMs | integer | Timeout of each call in milliseconds. Default: | |
headers | array of HTTPConnectionHeader | Plain headers sent on every call. Names are unique, case-insensitively, and values have no line breaks. A PUT replaces the whole list, so omitted means none. Names are compared case-insensitively. Headers that commonly carry credentials ( | |
authentication | OutboundAuthentication | How ThunderID authenticates to the endpoint: Secrets (the password, the token and every | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | HTTPConnectionResponse |
400 | Invalid HTTP endpoint connection request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | An HTTP endpoint connection with the same name already exists | Error |
500 | Internal server error | Error |
Get an HTTP endpoint connection
GET /connections/http/{id}
Returns the connection with every secret masked as ******.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details | HTTPConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | HTTP endpoint connection not found | Error |
500 | Internal server error | Error |
Update an HTTP endpoint connection
PUT /connections/http/{id}
Replaces the connection. An omitted basic password or bearer token keeps its stored
value only while the authentication type, its non-secret properties (such as the
username) and the URL origin (scheme, host and port, with default ports normalized) are
unchanged. Otherwise the credential is discarded and must be supplied again, so a
connection cannot be pointed at another server with its stored password. Each api_key
header is sent on its own: a header sent as "******" keeps its stored value under the
same rule, and a header left out is removed.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: HTTPConnectionUpdateRequest
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique per deployment. |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
url | string (uri) | Yes | Absolute |
timeoutMs | integer | Timeout of each call in milliseconds. Default: | |
headers | array of HTTPConnectionHeader | Plain headers sent on every call. Names are unique, case-insensitively, and values have no line breaks. A PUT replaces the whole list, so omitted means none. Names are compared case-insensitively. Headers that commonly carry credentials ( | |
authentication | OutboundAuthentication | How ThunderID authenticates to the endpoint: Secrets (the password, the token and every | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | HTTPConnectionResponse |
400 | Invalid HTTP endpoint connection request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | HTTP endpoint connection not found | Error |
409 | An HTTP endpoint connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete an HTTP endpoint connection
DEL /connections/http/{id}
Refused while other resources use the connection, and while its usages cannot be determined. Deleting a connection that does not exist succeeds.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
400 | The HTTP endpoint connection is declarative and cannot be deleted | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | The HTTP endpoint connection cannot be deleted because other resources use it | Error |
500 | Internal server error | Error |
Get HTTP endpoint connection usages
GET /connections/http/{id}/usages
Returns the resources that use this HTTP endpoint connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | HTTP endpoint connection not found | Error |
500 | Internal server error | Error |
List configured Google connections
GET /connections/google
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured connection instances | array of ConnectionInstanceSummary |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create a Google connection
POST /connections/google
Scopes: system
Request body (required): application/json
Schema: GoogleConnectionCreateRequest
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). |
clientId | string | Yes | |
clientSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
redirectUri | string | Yes | |
scopes | array of string | ||
prompt | string | ||
jwksEndpoint | string | ||
issuer | string | ||
tokenExchangeEnabled | boolean | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | GoogleConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get a Google connection
GET /connections/google/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details (secrets masked) | GoogleConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Update a Google connection
PUT /connections/google/{id}
Omit clientSecret to keep the stored value.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: GoogleConnectionUpdateRequest
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). | |
clientId | string | Yes | |
clientSecret | string | Write-only. Omit to keep the stored value on update. | |
redirectUri | string | Yes | |
scopes | array of string | ||
prompt | string | ||
jwksEndpoint | string | ||
issuer | string | ||
tokenExchangeEnabled | boolean | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | GoogleConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete a Google connection
DEL /connections/google/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get Google connection usages
GET /connections/google/{id}/usages
Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens to the
referencing resource if the connection is deleted:
fallback: the reference is kept as-is.cascade: the resource is permanently deleted along with the connection.restrict: the resource blocks deletion of the connection.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty. Consumers must treat
null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
List configured GitHub connections
GET /connections/github
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured connection instances | array of ConnectionInstanceSummary |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create a GitHub connection
POST /connections/github
Scopes: system
Request body (required): application/json
Schema: GitHubConnectionCreateRequest
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). |
clientId | string | Yes | |
clientSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
redirectUri | string | Yes | |
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | GitHubConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get a GitHub connection
GET /connections/github/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details (secrets masked) | GitHubConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Update a GitHub connection
PUT /connections/github/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: GitHubConnectionUpdateRequest
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). | |
clientId | string | Yes | |
clientSecret | string | Write-only. Omit to keep the stored value on update. | |
redirectUri | string | Yes | |
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | GitHubConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete a GitHub connection
DEL /connections/github/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get GitHub connection usages
GET /connections/github/{id}/usages
Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens to the
referencing resource if the connection is deleted:
fallback: the reference is kept as-is.cascade: the resource is permanently deleted along with the connection.restrict: the resource blocks deletion of the connection.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty. Consumers must treat
null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
List configured OIDC connections
GET /connections/oidc
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured connection instances | array of ConnectionInstanceSummary |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create an OIDC connection
POST /connections/oidc
Scopes: system
Request body (required): application/json
Schema: OIDCConnectionCreateRequest
17 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). |
clientId | string | Yes | |
clientSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
redirectUri | string | Yes | |
authorizationEndpoint | string | Yes | |
tokenEndpoint | string | Yes | |
userInfoEndpoint | string | ||
jwksEndpoint | string | ||
issuer | string | ||
scopes | array of string | ||
prompt | string | ||
tokenExchangeEnabled | boolean | ||
idJagEnabled | boolean | Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set. | |
trustedTokenAudience | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | OIDCConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get an OIDC connection
GET /connections/oidc/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details (secrets masked) | OIDCConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Update an OIDC connection
PUT /connections/oidc/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: OIDCConnectionUpdateRequest
17 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). | |
clientId | string | Yes | |
clientSecret | string | Write-only. Omit to keep the stored value on update. | |
redirectUri | string | Yes | |
authorizationEndpoint | string | Yes | |
tokenEndpoint | string | Yes | |
userInfoEndpoint | string | ||
jwksEndpoint | string | ||
issuer | string | ||
scopes | array of string | ||
prompt | string | ||
tokenExchangeEnabled | boolean | ||
idJagEnabled | boolean | Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set. | |
trustedTokenAudience | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | OIDCConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete an OIDC connection
DEL /connections/oidc/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get OIDC connection usages
GET /connections/oidc/{id}/usages
Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens to the
referencing resource if the connection is deleted:
fallback: the reference is kept as-is.cascade: the resource is permanently deleted along with the connection.restrict: the resource blocks deletion of the connection.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty. Consumers must treat
null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
List configured Twilio connections
GET /connections/twilio
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured connection instances | array of ConnectionInstanceSummary |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create a Twilio connection
POST /connections/twilio
Scopes: system
Request body (required): application/json
Schema: TwilioConnectionCreateRequest
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
accountSid | string | Yes | Twilio Account SID (AC followed by 32 hex characters). |
authToken | string | Yes | Write-only. Omit to keep the stored value on update. |
senderId | string | Yes | Sender phone number or alphanumeric sender ID. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | TwilioConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get a Twilio connection
GET /connections/twilio/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details (secrets masked) | TwilioConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Update a Twilio connection
PUT /connections/twilio/{id}
Omit authToken to keep the stored value.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: TwilioConnectionUpdateRequest
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
accountSid | string | Yes | Twilio Account SID (AC followed by 32 hex characters). |
authToken | string | Write-only. Omit to keep the stored value on update. | |
senderId | string | Yes | Sender phone number or alphanumeric sender ID. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | TwilioConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete a Twilio connection
DEL /connections/twilio/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get Twilio connection usages
GET /connections/twilio/{id}/usages
Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only: it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens to the
referencing resource if the connection is deleted:
fallback: the reference is kept as-is.cascade: the resource is permanently deleted along with the connection.restrict: the resource blocks deletion of the connection.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty. Consumers must treat
null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
List configured Vonage connections
GET /connections/vonage
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured connection instances | array of ConnectionInstanceSummary |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create a Vonage connection
POST /connections/vonage
Scopes: system
Request body (required): application/json
Schema: VonageConnectionCreateRequest
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
apiKey | string | Yes | Vonage API key. |
apiSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
senderId | string | Yes | Sender phone number or alphanumeric sender ID. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | VonageConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get a Vonage connection
GET /connections/vonage/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details (secrets masked) | VonageConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Update a Vonage connection
PUT /connections/vonage/{id}
Omit apiSecret to keep the stored value.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: VonageConnectionUpdateRequest
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
apiKey | string | Yes | Vonage API key. |
apiSecret | string | Write-only. Omit to keep the stored value on update. | |
senderId | string | Yes | Sender phone number or alphanumeric sender ID. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | VonageConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete a Vonage connection
DEL /connections/vonage/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get Vonage connection usages
GET /connections/vonage/{id}/usages
Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only: it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens to the
referencing resource if the connection is deleted:
fallback: the reference is kept as-is.cascade: the resource is permanently deleted along with the connection.restrict: the resource blocks deletion of the connection.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty. Consumers must treat
null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
List configured SMS gateway connections
GET /connections/sms-gateway
The SMS gateway connection is a generic HTTP webhook sender, for SMS providers without a dedicated vendor integration.
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured connection instances | array of ConnectionInstanceSummary |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create an SMS gateway connection
POST /connections/sms-gateway
Scopes: system
Request body (required): application/json
Schema: SMSGatewayConnectionCreateRequest
10 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
url | string | Yes | The HTTP endpoint to call to send an SMS. |
httpMethod | string | Allowed values: | |
httpHeaders | string | Comma-separated general HTTP headers, for example X-Campaign-ID: campaign-1. Values are returned unchanged. Commas are not supported within header values. Omit on update to retain them, or send an empty string to remove them. | |
authentication | OutboundAuthentication | Optional HTTP authentication using none, bearer, basic, or api_key. Authenticated remote URLs must use HTTPS; loopback HTTP is allowed. General httpHeaders retain their existing behavior and cannot use a header name also set by authentication. | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. | |
contentType | string | Allowed values: |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | SMSGatewayConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get an SMS gateway connection
GET /connections/sms-gateway/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details | SMSGatewayConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Update an SMS gateway connection
PUT /connections/sms-gateway/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: SMSGatewayConnectionUpdateRequest
10 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
url | string | Yes | The HTTP endpoint to call to send an SMS. |
httpMethod | string | Allowed values: | |
httpHeaders | string | Comma-separated general HTTP headers, for example X-Campaign-ID: campaign-1. Values are returned unchanged. Commas are not supported within header values. Omit on update to retain them, or send an empty string to remove them. | |
authentication | OutboundAuthentication | Optional HTTP authentication using none, bearer, basic, or api_key. Authenticated remote URLs must use HTTPS; loopback HTTP is allowed. General httpHeaders retain their existing behavior and cannot use a header name also set by authentication. | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. | |
contentType | string | Allowed values: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | SMSGatewayConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete an SMS gateway connection
DEL /connections/sms-gateway/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get SMS gateway connection usages
GET /connections/sms-gateway/{id}/usages
Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only: it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens to the
referencing resource if the connection is deleted:
fallback: the reference is kept as-is.cascade: the resource is permanently deleted along with the connection.restrict: the resource blocks deletion of the connection.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty. Consumers must treat
null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
List configured SMTP connections
GET /connections/email-smtp
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured connection instances | array of ConnectionInstanceSummary |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create an SMTP connection
POST /connections/email-smtp
Creates an email provider backed by an SMTP server.
Scopes: system
Request body (required): application/json
Schema: SMTPConnectionCreateRequest
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
host | string | Yes | Hostname of the SMTP server. |
port | integer | Yes | |
fromAddress | string (email) | Yes | Address used in the From header and the SMTP envelope. |
fromName | string | Display name shown beside | |
tls | string | How the connection to the SMTP server is secured. Defaults to Allowed values: | |
authentication | OutboundAuthentication | How ThunderID authenticates to the SMTP server. Omit it to send no credentials.
Call | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | SMTPConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get an SMTP connection
GET /connections/email-smtp/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details (secrets masked) | SMTPConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Update an SMTP connection
PUT /connections/email-smtp/{id}
Omit password to keep the stored value. The stored password is kept only while host, port, authentication type and username are unchanged; changing any of them requires the password to be supplied again.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: SMTPConnectionUpdateRequest
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
host | string | Yes | Hostname of the SMTP server. |
port | integer | Yes | |
fromAddress | string (email) | Yes | Address used in the From header and the SMTP envelope. |
fromName | string | Display name shown beside | |
tls | string | How the connection to the SMTP server is secured. Defaults to Allowed values: | |
authentication | OutboundAuthentication | How ThunderID authenticates to the SMTP server. Omit it to send no credentials.
Call | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | SMTPConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete an SMTP connection
DEL /connections/email-smtp/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get SMTP connection usages
GET /connections/email-smtp/{id}/usages
Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only: it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens to the
referencing resource if the connection is deleted:
fallback: the reference is kept as-is.cascade: the resource is permanently deleted along with the connection.restrict: the resource blocks deletion of the connection.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty. Consumers must treat
null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
List configured OAuth 2.0 connections
GET /connections/oauth
Scopes: system
Responses
| Code | Description | Schema |
|---|---|---|
200 | Configured connection instances | array of ConnectionInstanceSummary |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Create an OAuth 2.0 connection
POST /connections/oauth
Scopes: system
Request body (required): application/json
Schema: OAuthConnectionCreateRequest
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). |
clientId | string | Yes | |
clientSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
redirectUri | string | Yes | |
authorizationEndpoint | string | Yes | |
tokenEndpoint | string | Yes | |
userInfoEndpoint | string | The provider's user profile API, called with the access token. Provider-specific, for example https://api.github.com/user. Omit it when the provider exposes no profile API and issues a JWT access token. | |
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Connection created | OAuthConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get an OAuth 2.0 connection
GET /connections/oauth/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection details (secrets masked) | OAuthConnectionResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Update an OAuth 2.0 connection
PUT /connections/oauth/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: OAuthConnectionUpdateRequest
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). | |
clientId | string | Yes | |
clientSecret | string | Write-only. Omit to keep the stored value on update. | |
redirectUri | string | Yes | |
authorizationEndpoint | string | Yes | |
tokenEndpoint | string | Yes | |
userInfoEndpoint | string | The provider's user profile API, called with the access token. Provider-specific, for example https://api.github.com/user. Omit it when the provider exposes no profile API and issues a JWT access token. | |
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Connection updated | OAuthConnectionResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Delete an OAuth 2.0 connection
DEL /connections/oauth/{id}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Connection deleted | |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | A connection with the same name already exists | Error |
500 | Internal server error | Error |
Get OAuth 2.0 connection usages
GET /connections/oauth/{id}/usages
Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens to the
referencing resource if the connection is deleted:
fallback: the reference is kept as-is.cascade: the resource is permanently deleted along with the connection.restrict: the resource blocks deletion of the connection.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty. Consumers must treat
null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this connection | ConnectionUsagesResponse |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Connection Metadata
Describe the configurable options of each connection vendor.
Describe the configurable options of connection vendors
GET /connections/meta
Returns the server-driven description of what each connection vendor can be configured with, so a console can render options it was not built against. Without a vendor filter every registered vendor is described; with one, the list holds that vendor alone. Only authentication is described today: which methods a vendor supports and which fields each one takes. A vendor whose credentials are a fixed contract, such as Twilio, reports no methods.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
vendor | query | string | Limits the result to one connection vendor, as it appears in the /connections/{vendor} path. An unregistered vendor is rejected. Allowed values: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | The configurable options of the described vendors | ConnectionMetaResponse |
400 | Bad request | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
500 | Internal server error | Error |
Connection Sharing
Record which organization units may use a connection, and resolve what one organization unit may do with it.
List sharing policies of a Google connection
GET /connections/google/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for a Google connection
POST /connections/google/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of a Google connection
GET /connections/google/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of a Google connection
PUT /connections/google/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of a Google connection
DEL /connections/google/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of a Google connection for an organization unit
GET /connections/google/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
List sharing policies of a GitHub connection
GET /connections/github/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for a GitHub connection
POST /connections/github/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of a GitHub connection
GET /connections/github/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of a GitHub connection
PUT /connections/github/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of a GitHub connection
DEL /connections/github/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of a GitHub connection for an organization unit
GET /connections/github/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
List sharing policies of an OIDC connection
GET /connections/oidc/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for an OIDC connection
POST /connections/oidc/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of an OIDC connection
GET /connections/oidc/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of an OIDC connection
PUT /connections/oidc/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of an OIDC connection
DEL /connections/oidc/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of an OIDC connection for an organization unit
GET /connections/oidc/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
List sharing policies of an OAuth connection
GET /connections/oauth/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for an OAuth connection
POST /connections/oauth/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of an OAuth connection
GET /connections/oauth/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of an OAuth connection
PUT /connections/oauth/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of an OAuth connection
DEL /connections/oauth/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of an OAuth connection for an organization unit
GET /connections/oauth/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
List sharing policies of a Twilio connection
GET /connections/twilio/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for a Twilio connection
POST /connections/twilio/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of a Twilio connection
GET /connections/twilio/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of a Twilio connection
PUT /connections/twilio/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of a Twilio connection
DEL /connections/twilio/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of a Twilio connection for an organization unit
GET /connections/twilio/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
List sharing policies of a Vonage connection
GET /connections/vonage/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for a Vonage connection
POST /connections/vonage/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of a Vonage connection
GET /connections/vonage/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of a Vonage connection
PUT /connections/vonage/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of a Vonage connection
DEL /connections/vonage/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of a Vonage connection for an organization unit
GET /connections/vonage/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
List sharing policies of an SMS gateway connection
GET /connections/sms-gateway/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for an SMS gateway connection
POST /connections/sms-gateway/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of an SMS gateway connection
GET /connections/sms-gateway/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of an SMS gateway connection
PUT /connections/sms-gateway/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of an SMS gateway connection
DEL /connections/sms-gateway/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of an SMS gateway connection for an organization unit
GET /connections/sms-gateway/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
List sharing policies of an SMTP connection
GET /connections/email-smtp/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for an SMTP connection
POST /connections/email-smtp/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of an SMTP connection
GET /connections/email-smtp/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of an SMTP connection
PUT /connections/email-smtp/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of an SMTP connection
DEL /connections/email-smtp/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of an SMTP connection for an organization unit
GET /connections/email-smtp/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
List sharing policies of an AuthZEN PDP connection
GET /connections/authzen-pdp/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for an AuthZEN PDP connection
POST /connections/authzen-pdp/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of an AuthZEN PDP connection
GET /connections/authzen-pdp/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of an AuthZEN PDP connection
PUT /connections/authzen-pdp/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of an AuthZEN PDP connection
DEL /connections/authzen-pdp/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of an AuthZEN PDP connection for an organization unit
GET /connections/authzen-pdp/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
List sharing policies of an HTTP connection
GET /connections/http/{id}/sharing-policies
Returns the connection's sharing policies, declared ones included.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
limit | query | integer | Maximum number of records to return. Default: | |
offset | query | integer | Number of records to skip for pagination. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policies | ConnectionSharingPolicyListResponse |
400 | The page the listing asked for is not one it can return. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Create a sharing policy for an HTTP connection
POST /connections/http/{id}/sharing-policies
Records one organization unit's decision about which other organization units may use this connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes |
Request body (required): application/json
Schema: ConnectionSharingPolicyRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Sharing policy created | ConnectionSharingPolicy |
400 | The policy is not one the issuing organization unit may write. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Get a sharing policy of an HTTP connection
GET /connections/http/{id}/sharing-policies/{policyId}
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
500 | Internal server error | Error |
Replace a sharing policy of an HTTP connection
PUT /connections/http/{id}/sharing-policies/{policyId}
Replaces the policy's sections.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Request body (required): application/json
Schema: ConnectionSharingPolicyUpdateRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Sharing policy | ConnectionSharingPolicy |
400 | The replacement is not one this policy may become. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no such sharing policy on this connection | Error |
409 | The organization unit already holds a policy for this connection, or the policy is stale. | Error |
500 | Internal server error | Error |
Delete a sharing policy of an HTTP connection
DEL /connections/http/{id}/sharing-policies/{policyId}
Removes the policy and the policies its sharees issued.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
policyId | path | string | Yes | Sharing policy ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Sharing policy deleted | |
400 | The policy exists but is not this endpoint's to remove. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | Connection not found | Error |
500 | Internal server error | Error |
Overlay rules of an HTTP connection for an organization unit
GET /connections/http/{id}/overlay-rules
Resolves what one organization unit may do with the connection.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | |
ouId | query | string | Yes | The organization unit to resolve for. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved overlay | ConnectionResolvedOverlay |
400 | The request does not say which organization unit to resolve for. | Error |
401 | Missing or invalid authentication token | Error |
403 | Insufficient permissions to perform this operation | Error |
404 | No such connection, or no policy reaches the organization unit. | Error |
500 | Internal server error | Error |
Schemas
ConnectionListResponse
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
totalResults | integer | Yes | Number of instances that match the listing operation. |
startIndex | integer | Yes | Index of the first element of the page, which is equal to offset + 1. |
count | integer | Yes | Number of elements in the returned page. |
connections | array of ConnectionInstance | Yes | |
links | array of Link | Yes |
ConnectionInstance
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | |
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Every kind of connection has one. In a list filtered by an organization unit, a connection shared into that unit carries the ID of that unit instead. |
type | string | Yes | Lowercase vendor identifier. Allowed values: |
categories | array of string | Yes | Allowed values: |
isOwnedByOU | boolean | Whether the listed organization unit owns the connection rather than being shared it. Without an |
ConnectionInstanceSummary
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | |
name | string | Yes | |
description | string |
ConnectionUsage
Type: object
A single resource that references the connection.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
resourceType | string | Yes | Type of the referencing resource. Allowed values: |
id | string (uuid) | Yes | Identifier of the referencing resource. |
displayName | string | Yes | Human-readable name of the referencing resource. |
behaviorOnDelete | string | Yes | What happens to this resource when the connection is deleted.
Allowed values: |
ConnectionUsagesSummary
Type: object
Per-resource-type count of usages, keyed by resource type
(e.g. flow). Null when the counts could not be determined.
ConnectionUsagesResponse
Type: object
Resources that reference a connection, aggregated across all resource types. Drives pre-delete confirmation dialogs; informational only.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
totalResults | integer | Total number of resources that reference the connection. Null when usage data is unavailable; 0 means confirmed empty. | |
count | integer | Number of results returned. | |
summary | ConnectionUsagesSummary | Per-resource-type count of usages, keyed by resource type
(e.g. | |
usages | array of ConnectionUsage |
GoogleConnectionUpdateRequest
Type: object
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). | |
clientId | string | Yes | |
clientSecret | string | Write-only. Omit to keep the stored value on update. | |
redirectUri | string | Yes | |
scopes | array of string | ||
prompt | string | ||
jwksEndpoint | string | ||
issuer | string | ||
tokenExchangeEnabled | boolean | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
GoogleConnectionCreateRequest
Type: GoogleConnectionUpdateRequest
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). |
clientId | string | Yes | |
clientSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
redirectUri | string | Yes | |
scopes | array of string | ||
prompt | string | ||
jwksEndpoint | string | ||
issuer | string | ||
tokenExchangeEnabled | boolean | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
GoogleConnectionResponse
Type: object
14 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
name | string | ||
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. |
type | string | ||
clientId | string | ||
clientSecret | string | Masked as "******". | |
redirectUri | string | ||
scopes | array of string | ||
prompt | string | ||
jwksEndpoint | string | ||
issuer | string | ||
tokenExchangeEnabled | boolean | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
GitHubConnectionUpdateRequest
Type: object
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). | |
clientId | string | Yes | |
clientSecret | string | Write-only. Omit to keep the stored value on update. | |
redirectUri | string | Yes | |
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
GitHubConnectionCreateRequest
Type: GitHubConnectionUpdateRequest
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). |
clientId | string | Yes | |
clientSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
redirectUri | string | Yes | |
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
GitHubConnectionResponse
Type: object
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
name | string | ||
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. |
type | string | ||
clientId | string | ||
clientSecret | string | ||
redirectUri | string | ||
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
OIDCConnectionUpdateRequest
Type: object
17 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). | |
clientId | string | Yes | |
clientSecret | string | Write-only. Omit to keep the stored value on update. | |
redirectUri | string | Yes | |
authorizationEndpoint | string | Yes | |
tokenEndpoint | string | Yes | |
userInfoEndpoint | string | ||
jwksEndpoint | string | ||
issuer | string | ||
scopes | array of string | ||
prompt | string | ||
tokenExchangeEnabled | boolean | ||
idJagEnabled | boolean | Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set. | |
trustedTokenAudience | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
OIDCConnectionCreateRequest
Type: OIDCConnectionUpdateRequest
17 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). |
clientId | string | Yes | |
clientSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
redirectUri | string | Yes | |
authorizationEndpoint | string | Yes | |
tokenEndpoint | string | Yes | |
userInfoEndpoint | string | ||
jwksEndpoint | string | ||
issuer | string | ||
scopes | array of string | ||
prompt | string | ||
tokenExchangeEnabled | boolean | ||
idJagEnabled | boolean | Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set. | |
trustedTokenAudience | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
OIDCConnectionResponse
Type: object
19 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
name | string | ||
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. |
type | string | ||
clientId | string | ||
clientSecret | string | ||
redirectUri | string | ||
authorizationEndpoint | string | ||
tokenEndpoint | string | ||
userInfoEndpoint | string | ||
jwksEndpoint | string | ||
issuer | string | ||
scopes | array of string | ||
prompt | string | ||
tokenExchangeEnabled | boolean | ||
idJagEnabled | boolean | Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set. | |
trustedTokenAudience | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
OAuthConnectionUpdateRequest
Type: object
Generic OAuth 2.0 connection (no OpenID Connect discovery, no id_token). User attributes come from the provider's own profile API, given as userInfoEndpoint. That endpoint is provider-specific rather than an OpenID Connect UserInfo endpoint, and is optional: when it is omitted, the subject is read from the access token if the provider issues a JWT.
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). | |
clientId | string | Yes | |
clientSecret | string | Write-only. Omit to keep the stored value on update. | |
redirectUri | string | Yes | |
authorizationEndpoint | string | Yes | |
tokenEndpoint | string | Yes | |
userInfoEndpoint | string | The provider's user profile API, called with the access token. Provider-specific, for example https://api.github.com/user. Omit it when the provider exposes no profile API and issues a JWT access token. | |
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
OAuthConnectionCreateRequest
Type: OAuthConnectionUpdateRequest
Generic OAuth 2.0 connection (no OpenID Connect discovery, no id_token). User attributes come from the provider's own profile API, given as userInfoEndpoint. That endpoint is provider-specific rather than an OpenID Connect UserInfo endpoint, and is optional: when it is omitted, the subject is read from the access token if the provider issues a JWT.
12 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015). |
clientId | string | Yes | |
clientSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
redirectUri | string | Yes | |
authorizationEndpoint | string | Yes | |
tokenEndpoint | string | Yes | |
userInfoEndpoint | string | The provider's user profile API, called with the access token. Provider-specific, for example https://api.github.com/user. Omit it when the provider exposes no profile API and issues a JWT access token. | |
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
OAuthConnectionResponse
Type: object
14 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
name | string | ||
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. |
type | string | ||
clientId | string | ||
clientSecret | string | ||
redirectUri | string | ||
authorizationEndpoint | string | ||
tokenEndpoint | string | ||
userInfoEndpoint | string | ||
scopes | array of string | ||
prompt | string | ||
attributeConfiguration | AttributeConfiguration | External-to-local attribute mapping configuration for the connection. |
AuthZENPDPConnectionUpdateRequest
Type: AuthZENPDPConnectionConfiguration
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
endpoint | string (uri) | Yes | HTTP endpoint for a single AuthZEN access evaluation. |
batchEndpoint | string (uri) | Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint. | |
timeoutMs | integer | Timeout for each PDP request in milliseconds. Default: | |
retryCount | integer | Number of retries for transient PDP or network failures. Default: | |
subjectAttributeMappings | array of AuthZENPDPSubjectAttributeMapping | ||
authentication | OutboundAuthentication | How ThunderID authenticates itself on an outbound call. The Credential values are stored encrypted and returned as |
AuthZENPDPConnectionConfiguration
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
endpoint | string (uri) | Yes | HTTP endpoint for a single AuthZEN access evaluation. |
batchEndpoint | string (uri) | Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint. | |
timeoutMs | integer | Timeout for each PDP request in milliseconds. Default: | |
retryCount | integer | Number of retries for transient PDP or network failures. Default: | |
subjectAttributeMappings | array of AuthZENPDPSubjectAttributeMapping |
AuthZENPDPConnectionCreateRequest
Type: AuthZENPDPConnectionUpdateRequest
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
endpoint | string (uri) | Yes | HTTP endpoint for a single AuthZEN access evaluation. |
batchEndpoint | string (uri) | Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint. | |
timeoutMs | integer | Timeout for each PDP request in milliseconds. Default: | |
retryCount | integer | Number of retries for transient PDP or network failures. Default: | |
subjectAttributeMappings | array of AuthZENPDPSubjectAttributeMapping | ||
authentication | OutboundAuthentication | How ThunderID authenticates itself on an outbound call. The Credential values are stored encrypted and returned as |
AuthZENPDPConnectionResponse
Type: AuthZENPDPConnectionConfiguration
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | |
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
type | string | Yes | Allowed values: |
authentication | OutboundAuthentication | How ThunderID authenticates itself on an outbound call. The Credential values are stored encrypted and returned as | |
name | string | Yes | |
description | string | ||
endpoint | string (uri) | Yes | HTTP endpoint for a single AuthZEN access evaluation. |
batchEndpoint | string (uri) | Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint. | |
timeoutMs | integer | Timeout for each PDP request in milliseconds. Default: | |
retryCount | integer | Number of retries for transient PDP or network failures. Default: | |
subjectAttributeMappings | array of AuthZENPDPSubjectAttributeMapping |
AuthZENPDPSubjectAttributeMapping
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
entityType | string | Yes | Handle of the user type or agent type to which this mapping applies. |
attributes | array of object | Yes |
HTTPConnectionUpdateRequest
Type: object
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique per deployment. |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
url | string (uri) | Yes | Absolute |
timeoutMs | integer | Timeout of each call in milliseconds. Default: | |
headers | array of HTTPConnectionHeader | Plain headers sent on every call. Names are unique, case-insensitively, and values have no line breaks. A PUT replaces the whole list, so omitted means none. Names are compared case-insensitively. Headers that commonly carry credentials ( | |
authentication | OutboundAuthentication | How ThunderID authenticates to the endpoint: Secrets (the password, the token and every | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. |
HTTPConnectionCreateRequest
Type: HTTPConnectionUpdateRequest
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique per deployment. |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
url | string (uri) | Yes | Absolute |
timeoutMs | integer | Timeout of each call in milliseconds. Default: | |
headers | array of HTTPConnectionHeader | Plain headers sent on every call. Names are unique, case-insensitively, and values have no line breaks. A PUT replaces the whole list, so omitted means none. Names are compared case-insensitively. Headers that commonly carry credentials ( | |
authentication | OutboundAuthentication | How ThunderID authenticates to the endpoint: Secrets (the password, the token and every | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. |
HTTPConnectionResponse
Type: object
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | |
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. |
type | string | Yes | Allowed values: |
url | string | Yes | |
timeoutMs | integer | Yes | |
headers | array of HTTPConnectionHeader | Yes | |
authentication | OutboundAuthentication | Yes | How ThunderID authenticates itself on an outbound call. The Credential values are stored encrypted and returned as |
TwilioConnectionUpdateRequest
Type: object
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
accountSid | string | Yes | Twilio Account SID (AC followed by 32 hex characters). |
authToken | string | Write-only. Omit to keep the stored value on update. | |
senderId | string | Yes | Sender phone number or alphanumeric sender ID. |
TwilioConnectionCreateRequest
Type: TwilioConnectionUpdateRequest
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
accountSid | string | Yes | Twilio Account SID (AC followed by 32 hex characters). |
authToken | string | Yes | Write-only. Omit to keep the stored value on update. |
senderId | string | Yes | Sender phone number or alphanumeric sender ID. |
TwilioConnectionResponse
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
name | string | ||
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. |
type | string | ||
accountSid | string | ||
authToken | string | Masked as "******". | |
senderId | string |
VonageConnectionUpdateRequest
Type: object
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
apiKey | string | Yes | Vonage API key. |
apiSecret | string | Write-only. Omit to keep the stored value on update. | |
senderId | string | Yes | Sender phone number or alphanumeric sender ID. |
VonageConnectionCreateRequest
Type: VonageConnectionUpdateRequest
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
apiKey | string | Yes | Vonage API key. |
apiSecret | string | Yes | Write-only. Omit to keep the stored value on update. |
senderId | string | Yes | Sender phone number or alphanumeric sender ID. |
VonageConnectionResponse
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
name | string | ||
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. |
type | string | ||
apiKey | string | ||
apiSecret | string | Masked as "******". | |
senderId | string |
SMSGatewayConnectionUpdateRequest
Type: object
10 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
url | string | Yes | The HTTP endpoint to call to send an SMS. |
httpMethod | string | Allowed values: | |
httpHeaders | string | Comma-separated general HTTP headers, for example X-Campaign-ID: campaign-1. Values are returned unchanged. Commas are not supported within header values. Omit on update to retain them, or send an empty string to remove them. | |
authentication | OutboundAuthentication | Optional HTTP authentication using none, bearer, basic, or api_key. Authenticated remote URLs must use HTTPS; loopback HTTP is allowed. General httpHeaders retain their existing behavior and cannot use a header name also set by authentication. | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. | |
contentType | string | Allowed values: |
SMSGatewayConnectionCreateRequest
Type: SMSGatewayConnectionUpdateRequest
10 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
url | string | Yes | The HTTP endpoint to call to send an SMS. |
httpMethod | string | Allowed values: | |
httpHeaders | string | Comma-separated general HTTP headers, for example X-Campaign-ID: campaign-1. Values are returned unchanged. Commas are not supported within header values. Omit on update to retain them, or send an empty string to remove them. | |
authentication | OutboundAuthentication | Optional HTTP authentication using none, bearer, basic, or api_key. Authenticated remote URLs must use HTTPS; loopback HTTP is allowed. General httpHeaders retain their existing behavior and cannot use a header name also set by authentication. | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. | |
contentType | string | Allowed values: |
SMSGatewayConnectionResponse
Type: object
10 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
name | string | ||
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. |
type | string | ||
url | string | ||
httpMethod | string | ||
httpHeaders | string | Comma-separated general HTTP headers returned unchanged. | |
authentication | OutboundAuthentication | How ThunderID authenticates itself on an outbound call. The Credential values are stored encrypted and returned as | |
contentType | string |
SMTPConnectionUpdateRequest
Type: object
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. | |
host | string | Yes | Hostname of the SMTP server. |
port | integer | Yes | |
fromAddress | string (email) | Yes | Address used in the From header and the SMTP envelope. |
fromName | string | Display name shown beside | |
tls | string | How the connection to the SMTP server is secured. Defaults to Allowed values: | |
authentication | OutboundAuthentication | How ThunderID authenticates to the SMTP server. Omit it to send no credentials.
Call | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. |
SMTPConnectionCreateRequest
Type: SMTPConnectionUpdateRequest
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has. |
host | string | Yes | Hostname of the SMTP server. |
port | integer | Yes | |
fromAddress | string (email) | Yes | Address used in the From header and the SMTP envelope. |
fromName | string | Display name shown beside | |
tls | string | How the connection to the SMTP server is secured. Defaults to Allowed values: | |
authentication | OutboundAuthentication | How ThunderID authenticates to the SMTP server. Omit it to send no credentials.
Call | |
authentication.type | string | Yes | The authentication method. |
authentication.properties | object | The selected method's field values, keyed by field name. |
SMTPConnectionResponse
Type: object
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | ||
name | string | ||
description | string | ||
ouId | string | Yes | ID of the organization unit that owns the connection. |
type | string | ||
host | string | ||
port | integer | ||
fromAddress | string (email) | ||
fromName | string | ||
tls | string | Allowed values: | |
authentication | OutboundAuthentication | How ThunderID authenticates itself on an outbound call. The Credential values are stored encrypted and returned as |
OutboundAuthentication
Type: object
How ThunderID authenticates itself on an outbound call. The type selects the method
and properties carries that method's fields, so a new method needs no change to this
schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor
supports and the fields each one takes.
Credential values are stored encrypted and returned as "******". On update, a masked
value retains the matching stored credential while the connection target is unchanged.
For api_key, properties contains HTTP header names and values; a header name cannot
contain a dot. Omitting a header
from a supplied api_key block deletes it. Omitting the whole authentication block
keeps the existing configuration. Setting type to none removes authentication.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | The authentication method. |
properties | object | The selected method's field values, keyed by field name. |
ConnectionMetaResponse
Type: object
Server-driven description of the configurable options of connection vendors.
1 property
| Name | Type | Required | Description |
|---|---|---|---|
vendors | array of ConnectionVendorMeta | Every registered vendor, or the one named by the |
ConnectionVendorMeta
Type: object
Server-driven description of one connection vendor's configurable options.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
vendor | string | ||
authentication | object | ||
authentication.methods | array of OutboundAuthMethod | The outbound authentication methods this vendor supports, in the order a console should offer them. Empty when the vendor has no configurable choice, such as a provider whose credentials are a fixed vendor contract. |
OutboundAuthMethod
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | ||
displayName | string | Label for the method. Either plain text or an i18n template pattern. | |
fields | array of OutboundAuthField | The method's fields, in the order a console should render them. | |
additionalProperties | OutboundAuthField | One field of an authentication method, described with the same vocabulary as an entity type's property schema so a console can reuse its schema-driven form renderer. |
OutboundAuthField
Type: object
One field of an authentication method, described with the same vocabulary as an entity type's property schema so a console can reuse its schema-driven form renderer.
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
key | string | ||
type | string | Allowed values: | |
required | boolean | ||
credential | boolean | A secret: stored encrypted, returned masked, omit on update to keep it. | |
displayName | string | Label for the field. Either plain text or an i18n template pattern. |
AttributeConfiguration
Type: object
External-to-local attribute mapping configuration for the connection.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
userTypeResolution | UserTypeResolution | Yes | Resolves which local user type an incoming federated identity maps to. User types are referenced by their handle. |
userTypeAttributeMappings | array of UserTypeAttributeMapping | Per-user-type attribute mapping profiles. | |
accountLinking | AccountLinking | Configures how an incoming federated identity is matched to an existing local user when it has no recorded link. Every configured attribute that has a value must match. | |
authorizationMapping | AuthorizationMapping | A connection's authorization mapping configuration, evaluated at federated sign-in, token exchange, and ID-JAG consumption: explicit value-to-target rules, direct name-based lookups, or both together, in which case their resolved targets union. |
AccountLinking
Type: object
Configures how an incoming federated identity is matched to an existing local user when it has no recorded link. Every configured attribute that has a value must match.
1 property
| Name | Type | Required | Description |
|---|---|---|---|
attributes | array of string | External attribute names used together to find the local user. Each one matches on every local attribute it is mapped to, and on the local attribute of the same name. A name that is not made of letters, digits and underscores matches only through its mappings, so it must be mapped for every user type, and saving the connection rejects it otherwise. The reserved names userID, federatedIdpId, credentialUpdatedAt and linkedIds are rejected, both as linking attributes and as the local attributes they are mapped to. If an attribute has a value but no local attribute to match on, the connection matches no one. This can still happen at sign-in when the identity resolves to a user type that has no attribute mappings. Each attribute's local attributes are combined with every other's, one lookup per combination, and saving rejects a configuration that needs more than 10 lookups for any user type. |
UserTypeResolution
Type: object
Resolves which local user type an incoming federated identity maps to. User types are referenced by their handle.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
default | string | Yes | Handle of the fallback local user type, used when claim-driven resolution is not configured or the external attribute's value does not match a mapping. |
externalAttribute | string | External claim whose value selects the local user type. | |
valueMapping | object | Maps an external attribute value to the handle of a local user type. |
UserTypeAttributeMapping
Type: object
Attribute mapping profile for a single local user type.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
userType | string | Yes | Handle of the local user type this profile applies to. |
attributes | array of AttributeMapping | External-to-local attribute mappings for this user type. |
AttributeMapping
Type: object
Maps a single external IDP attribute to a local user attribute.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
externalAttribute | string | Yes | External claim name emitted by the IDP. May be a dot-notation path into a nested claim (e.g. "address.email"). A literal name containing dots is matched first. |
localAttribute | string | Yes | Target local attribute name. Must exist in the user type's schema. |
AuthorizationMapping
Type: object
A connection's authorization mapping configuration, evaluated at federated sign-in, token exchange, and ID-JAG consumption: explicit value-to-target rules, direct name-based lookups, or both together, in which case their resolved targets union.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
rules | array of AuthorizationRuleMapping | Maps values of external claims to local roles, groups, or permissions. A claim value satisfying no rule confers nothing, even where it matches the name of a local role or group. | |
direct | array of AuthorizationDirectMapping | Feeds every value of an external claim directly onto local roles, groups, or permissions of one target type, using each value as the name (or permission string) to look up, rather than an explicit per-value rule table. A value with no unambiguous match confers nothing. |
AuthorizationRuleMapping
Type: object
Maps values of a single external claim to local roles, groups, or permissions. The result is the union of every matching rule's targets; a value satisfying no rule confers nothing.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
claim | string | Yes | Source claim. May be a dot-notation path into a nested claim (e.g. "address.country"). |
valueType | string | How the claim's value(s) are interpreted. Defaults to "string" (a single scalar value) when omitted. "array", or "string" combined with delimiter, is multi-valued and requires the includes/not_includes operators; every other combination is single-valued and requires a different operator. "number" values are compared exactly when they have at most 1024 characters and an exponent within ±400; beyond that they are compared as 64-bit floating-point numbers. Allowed values: | |
delimiter | string | Splits a single string claim value into multiple tokens, making it multi-valued. Only valid when valueType is "string" or omitted. | |
values | array of AuthorizationRule | Yes | At least one rule. Every matching rule's targets are unioned together. |
AuthorizationRule
Type: object
Grants targets when the owning mapping's claim value(s) satisfy operator against value.
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
operator | string | Yes | equals/not_equals and the ordering operators (greater_than, less_than, greater_than_or_equal, less_than_or_equal) are scalar comparisons and require the owning mapping to be single-valued; the ordering operators additionally require valueType "number". includes/not_includes test set membership and require the owning mapping to be multi-valued. Allowed values: |
value | string | Yes | Value compared against the claim, always given as a string regardless of valueType (e.g. "true" for boolean, "5" for number). |
targets | array of AuthorizationTarget | Yes | Roles, groups, or permissions granted when this rule matches. |
AuthorizationTarget
Type: object
A single local role, group, or permission a matching rule confers. The referenced role, group, or permission must already exist; the connection is rejected otherwise.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Allowed values: |
id | string | Role or group id. Required when type is "role" or "group". | |
resourceServerId | string | Resource server id the permission belongs to. Required when type is "permission"; a permission is only meaningful on one resource server. | |
permission | string | Permission handle on resourceServerId. Required when type is "permission". |
AuthorizationDirectMapping
Type: object
Feeds every value of a single external claim directly onto local roles, groups, or permissions of targetType, using each value as the name (or permission string) to look up. A value with no unambiguous match (none, or more than one, since role and group names are only unique within an organization unit) confers nothing.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
claim | string | Yes | Source claim. May be a dot-notation path into a nested claim (e.g. "address.country"). A list claim (a JSON array) is split into its elements automatically; a single value, including a number or boolean, is used as its own one-element token. |
delimiter | string | Splits a single string claim value into multiple tokens. Not needed for a list claim. | |
targetType | string | Yes | What every claim value resolves to. A value is matched by exact name against existing roles or groups (regardless of organization unit); for "permission" it is validated directly against resourceServerId's defined permissions, since a permission is a string rather than a separately named entity. Allowed values: |
resourceServerId | string | Resource server id claim values are validated against. Required when targetType is "permission"; not allowed otherwise. |
ConnectionSharingPolicyRequest
Type: any of: any, any
One organization unit's decision about this connection.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
initiatingOuId | string | The organization unit whose decision this is. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRootsSelected | Named root organization units of other trees, and nothing below them. | |
version | integer | The policy version the caller believes it is editing. |
ConnectionSharingPolicyUpdateRequest
Type: any of: any, any, any
A replacement for a policy's sections.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. | |
version | integer | Yes | The policy version the caller believes it is editing. |
ConnectionAllUnits
Type: object
Every organization unit in the deployment, at any depth, including units created later.
1 property
| Name | Type | Required | Description |
|---|---|---|---|
excludedOuIds | array of string | Organization units withheld from the section, each taking everything beneath it out of reach as well. |
ConnectionChildUnits
Type: one of: ConnectionChildUnitsAll, ConnectionChildUnitsSelected
The organization units beneath the issuer.
ConnectionChildUnitsAll
Type: object
Everything beneath the issuing organization unit, at any depth, including units created later.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
mode | string | Yes | Allowed values: |
excludedOuIds | array of string | Organization units withheld from the section, each taking everything beneath it out of reach as well. |
ConnectionChildUnitsSelected
Type: object
Named organization units directly beneath the issuer.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
mode | string | Yes | Allowed values: |
units | array of ConnectionChildUnit | Yes | The organization units reached. |
ConnectionChildUnit
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
ouId | string | Yes | A direct child of the issuing organization unit. |
reach | string | Yes | How far the connection carries from the named organization unit. Allowed values: |
ConnectionOtherTreeRoots
Type: one of: ConnectionOtherTreeRootsSelected, ConnectionOtherTreeRootsAll
The root organization units of other trees, as a policy carries them.
ConnectionOtherTreeRootsSelected
Type: object
Named root organization units of other trees, and nothing below them.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
mode | string | Yes | Allowed values: |
units | array of ConnectionRootUnit | Yes | The root organization units reached. |
ConnectionOtherTreeRootsAll
Type: object
The root organization unit of every other tree, including trees created later.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
mode | string | Yes | Allowed values: |
excludedOuIds | array of string | Root organization units withheld from the section, and with them their trees. |
ConnectionRootUnit
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
ouId | string | Yes | The root organization unit of another tree. |
ConnectionSharingPolicy
Type: object
A recorded sharing policy.
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | The policy's own identifier. | |
initiatingOuId | string | The organization unit whose decision this policy is. | |
stage | string |
Allowed values: | |
parentPolicyId | string | The policy that made this one's issuer able to see the connection. | |
isReadOnly | boolean | Indicates if the policy is defined in declarative configuration and cannot be modified. | |
version | integer | Bumped on every edit, and carried back on the next one. | |
allUnits | ConnectionAllUnits | Every organization unit in the deployment, at any depth, including units created later. | |
childUnits | ConnectionChildUnits | The organization units beneath the issuer. | |
otherTreeRoots | ConnectionOtherTreeRoots | The root organization units of other trees, as a policy carries them. |
ConnectionSharingPolicyListResponse
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
totalResults | integer | How many policies the connection has, not how many this page holds. | |
startIndex | integer | The one-based position of the first policy in this page. | |
count | integer | How many policies this page holds. | |
policies | array of ConnectionSharingPolicy | ||
links | array of Link | Links to the first, previous, next and last pages, where they exist. |
ConnectionResolvedOverlay
Type: object
What one organization unit may do with the connection.
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
ouId | string | ||
isOwnedByOU | boolean | Whether the organization unit owns the connection rather than being shared it. | |
visible | boolean | Whether the organization unit can see the connection at all. | |
policyIds | array of string | Every policy that contributed, so an answer is traceable to its inputs. | |
rules | object | The effective rule per field. |
ConnectionOverlayRule
Type: object
What a reached organization unit may do with one field.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
editable | boolean | ||
value | array of string | ||
allowedValues | array of string | ||
excludedValues | array of string |
Error
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | |
message | I18nMessage | Yes | |
description | I18nMessage |
Was this page helpful?