Blogs Settings
Turns the Blogs module on or off for your learner-facing website and app. When off, the Blogs section is hidden from learners.
POST
/blogs/module/settingsBlogs Settings
curl --request POST \
--url 'https://<your-api-host>/nuSource/api/v1/blogs/module/settings' \
--header 'APIKEY: <your-api-key>' \
--header 'ORGID: <your-org-id>' \
--form 'JSONString={"status":1}'{
"code": 200,
"message": "Blogs module updated successfully !"
}Access: Institute admins, plus custom roles. Organization admins who are not institute admins get "Only institute admin is allowed to do this action !".
Request body: form-data with one field, JSONString, containing this JSON:
Body
JSONString1 turns Blogs on, 0 turns it off. Any other value fails with "Invalid status.".Response
codeinteger
Example:
200Notes: If your organization has its own website domain, the setting applies to that organization only; otherwise it applies to the whole institute. Rate limit: 30 requests per 1 minute; going over locks you out for 30 minutes.