Update a Resource
put
/public/v1/resources/{resource}Fields left out keep their current value. Pass a temporary upload id as file to replace
the attached file, or null to remove it.
resourcestringrequiredThe resource UUID
Body
application/jsonnamestringmax length 255descriptionstring | nullmax length 255contentstring | nullmax length 1048576visible_to_support_workersbooleanfilestring | null
Response
200application/jsonResourceResource
dataobjectrequired▶Show 9 child attributesHide child attributes
idstringrequiredExample:r3s0u4c5-e6f7-47a8-9b0c-1d2e3f4a5b6cnamestringrequiredExample:Staff Induction Guidedescriptionstring | nullrequiredExample:Everything a new team member needs in their first week.contentstring | nullrequiredExample:<p>Read this before your first shift.</p>visible_to_support_workersbooleanrequiredExample:truedocumentobjectrequired▶Show 6 child attributesHide child attributes
idstringrequiredExample:d1c2e3f4-a5b6-47c8-9d0e-1f2a3b4c5d6enamestringrequiredExample:Service Agreementfile_extensionstringrequiredExample:pdfarchived_atstring | nullrequiredExample:2024-02-01T09:00:00+00:00created_atstringrequiredExample:2024-01-15T10:30:00+00:00categoriesobject[]required▶Show 2 child attributesHide child attributes
idstringrequiredExample:c4a5b6c7-d8e9-40f1-a2b3-c4d5e6f7a8b9namestringrequiredExample:Assessments
tagsobject[]required▶Show 4 child attributesHide child attributes
idstringrequiredExample:r1e2s3o4-u5r6-47c8-9e0t-1a2g3i4d5e6fnamestringrequiredExample:High PrioritycolourstringrequiredExample:#ff0000created_atstringrequiredExample:2024-01-15T10:30:00+00:00
created_atstringrequiredExample:2024-01-15T10:30:00+00:00updated_atstring | nullrequiredExample:2024-02-01T09:00:00+00:00
401Unauthenticated403Authorization error404Not found422Validation error