Archive a Goal
post
/public/v1/goals/{goal}/archiveReturns the goal with archived_at set. Refuses with a 409 when the goal is
linked to an NDIS plan that is current, or when it is already archived, so the
date it was first archived on is never overwritten.
goalstringrequiredThe goal UUID
Response
200application/jsonParticipantGoalResource
dataobjectrequired▶Show 10 child attributesHide child attributes
idstringrequiredExample:g1o2a3l4-d5e6-47f8-9a0b-1c2d3e4f5a6bnamestringrequiredExample:Improve social interactionsgoal_typeenum<string> | nullrequiredAvailable options:long_termmedium_termshort_termdescriptionstring | nullrequiredExample:Participant wants to improve their social skillsachievement_strategystring | nullrequiredExample:Attend weekly social groupsbarriersstring | nullrequiredExample:Anxiety in group settingsstatusenum<string>requiredAvailable options:achievedin_progressunattainableachieved_atstring | nullrequiredExample:2024-06-15T10:30:00+00:00archived_atstring | nullrequiredExample:2024-01-15T10:30:00+00:00created_atstringrequiredExample:2024-01-15T10:30:00+00:00
401Unauthenticated403Authorization error404Not found409The goal is linked to a current NDIS plan, or it is already archived.