Bloss Docs

Change an accountability rule

Developers
PATCH
/coach/accountability-rules/{ruleType}

Change the threshold of one accountability rule or turn it on or off, for your whole camp, as the Accountability page does. Send either or both; the other keeps its current value. GET /coach/accountability-rules lists the rules with their units and suggested ranges. Flags are recalculated from live data.

Authorization

bearerAuth coach:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: coach:write

Path Parameters

ruleType*string

A rule's ruleType from GET /coach/accountability-rules.

Value in"no_recent_activity""cadence_below_quota""engagement_below_floor""views_trending_down"

Request Body

application/json
  1. body
threshold?number

The new threshold, 0–10000.

Range0 <= value <= 10000
enabled?boolean

Turn the rule on or off.

Response Body

Success.

application/json
  1. response
ruleType*string
threshold*number
enabled*boolean
curl -X PATCH 'https://example.com/api/v1/coach/accountability-rules/no_recent_activity' \  -H 'Content-Type: application/json' \  -d '{}'
{  "ruleType": "string",  "threshold": 0,  "enabled": true}

Was this page helpful?