Skip to content
SDKProductDomains and accessSSO Connection

SSO Connection methods: update

The SSO Connection Verbs update as typed SDK methods, with inputs, result, refusals and an example.

Reference for SSO Connection, one group of SSO Connection methods.

SSOConnection.update

Changes the given properties of a SSO Connection. Verb page.

TypeScript
interface SSOConnectionVerbs {
  update(input: SSOConnectionUpdateInput, options?: SB.CallOptions): SB.Call<SSOConnection>
}

Emits SSOConnection.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the SSO Connection.
protocolstringHow sign-in is asserted: saml or oidc.
certificateExpiresAtdatetimeWhen the signing certificate expires; the Customer’s admin hears 30 days before.
testedAtdatetimeWhen the Customer’s admin last completed a test sign-in.

Returns

OutputTypeRequiredDescription
ssoConnectionSSO ConnectionrequiredThe SSO Connection.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

TypeScript
import { $ } from 'startup-builder'

const ssoConnection = await $.SSOConnection.update({ id: 'sso_gFlPhZJ7A7', protocol: 'saml' })