Skip to main content

Archive Success Plan Goal

POST 

/api/success-plan/goals/:goal/archive

Archives a goal. Its readings are kept, it no longer counts toward the three active goals, and it can't be changed afterwards. No body.

Required scope: success_plan:write

Grant 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.

Returns the goal with status: archived and archived_at.

409 goal_busy: SKU.io was measuring this goal and did not finish in time; nothing was saved, so retry shortly.

Request​

Responses​

OK

Response Headers
    Content-Type