Connect Website Hosting
POST /website-editor/connect
POST
/website-editor/connect
Connect the org’s website hosting account. FREE.
The credentials are validated against the provider before they are stored, so a wrong token is a 400 rather than a broken connection. Replaces any existing connection. The token is WRITE-ONLY - no response carries it.
Authorizations
Parameters
Header Parameters
Request Body required
Responses
200
Successful Response
object
data
required
The hosting connection, without its credential.
object
connected
required
boolean
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string