SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
blogs

Update blog-wide settings. Provided keys are changed.

Update blog-wide settings. Provided keys are changed.

PATCHhttps://staging.softsolz.uk/api/v1/services/blogs/settings

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

comments_enabledboolean

Default for "Allow comments" on newly created posts.

subscribe_enabledboolean

Whether the newsletter subscribe box is shown on the blog.

author_namestring

Blog-wide default byline name used when a post has no author.

author_image_urlstring

Blog-wide default byline avatar image URL.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.blogs.updateSettings({});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 200

{
"data": {}
}