ap-portals

Update Account Login

Update login

Rotate an AP-portal login's credentials (password, header token, TOTP secret) or scope. Only the fields you supply change; a supplied password clears a prior lock so sweeps resume. Credentials are encrypted at rest and never returned.

patch/v2/ap-portals/accounts/{account_id}

Request

  • Base URL
    https://api.stuut.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

account_idstring required

Request body

usernamestring nullable
passwordstring nullable
header_tokenstring nullable
totp_secretstring nullable

Base32 TOTP seed for authenticator-app MFA; the sweep mints the one-time code at login. Write-only.

scopeAPPortalScope[] nullable

Replace the swept document kinds. Omit to leave unchanged; must be non-empty when supplied.

login_urlstring nullable

The login's own sign-in page when it differs from the provider's default, such as https://go.servicetitan.com/ for a ServiceTitan user outside Enterprise Hub.

Response

Successful Response

idstring required
provider'kehe' | 'taulia' | 'coupa' | 'ariba' | 'meijer' | 'kroger' | 'walgreens' | 'albertsons' | 'target' | 'heb' | 'heb_sidm' | 'c_and_s' | 'walmart' | 'walmart_highradius' | 'cvs' | 'cvs_sap' | 'cvs_image_silo' | 'kroger_supplier_connect' | 'kroger_claimtrax' | 'kroger_verigon' | 'servicetitan' | 'sandbox' | 'generic' required

Supported AP Portal providers.

usernamestring nullable required
status'active' | 'locked' | 'awaiting_auth' | 'password_expiring' | 'password_expired' | 'connecting' required

Status of an AP portal account (the login/credential).

scopeAPPortalScope[] required
login_urlstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.