Update Sharing Consent
PUT/api/success-plan/consent
Changes sharing consent. Every change is kept in the history and logged in the story. Setting no revokes approved drafts that are not yet published and flags published ones for SKU.io to take down.
success_plan:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token with the success_plan:write scope. The user must hold the success_plan.manage permission.
Body:
status(string, required):open,ask_laterorno.permissions.name_company(boolean): the write-up may name the company.permissions.use_figures(boolean): it may use your figures.permissions.name_person(boolean): it may name the person quoted.note(string, max 255).
Permissions are kept only with open; any not sent are false. Returns the consent and history, as Get Sharing Consent.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.