WordPress

Tie a connection to a project (members with access to it can use it) or narrow its scopes

patch/wordpress/connections/{connectionId}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/wordpress/connections/{connectionId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

connectionIdstring uuid required

Request body

projectIdstring uuid nullable

Tie the connection to a project (null: the team only)

scopesstring[]

Narrow what Hostingsurge may do (never widen: pair again for that)

Response

Updated

idstring uuid required
organizationIdstring uuid required
siteUrlstring required
siteNamestring nullable required
usernamestring required
userDisplayNamestring nullable required
status'active' | 'error' | 'disconnected' required
seoPlugin'yoast' | 'rankmath' | 'null' nullable required
lastVerifiedAtstring nullable required

ISO-8601 timestamp

lastErrorstring nullable required
createdAtstring required

ISO-8601 timestamp

createdBystring uuid nullable required
disconnectedAtstring nullable required

ISO-8601 timestamp

authKind'application_password' | 'connector'
scopesstring[]
projectIdstring uuid nullable
pluginVersionstring nullable

Changes

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