Command Palette

Search for a command to run...

Log In

Update a Site

put/public/v1/sites/{site}
  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • sitestringrequired

    The site UUID

Body

application/json
  • namestringmax length 255
  • typeenum<string>
    Available options:othersil_house
  • default_support_typeenum<string> | null
    Available options:behaviour_support_implementationcapacity_buildingcommunity_accesseducation_supportemployment_supportgroup_supporthigh_intensity_supportin_home_supportotherpersonal_careshadow_shiftshort_term_accommodationsupported_independent_livingtherapy_supporttrainingtransport
  • descriptionstring | nullmax length 65535

    Limited to 65535 bytes.

  • capacityinteger | null≥ 1≤ 4294967295
  • site_managerobject
    ▶Show 1 child attributes
    • idstring | null
  • addressobject
    ▶Show 9 child attributes
    • address_1stringmax length 255
    • stateenum<string> | null
      Available options:ACTNSWNTQLDSATASVICWA
    • postcodenumber | null
    • suburbstring | nullmax length 255
    • address_2string | nullmax length 255
    • latnumber | null
    • lngnumber | null
    • traditional_place_namestring | nullmax length 255
    • detailsstring | nullmax length 255

Response

200application/json

SiteResource

  • dataobjectrequired
    ▶Show 11 child attributes
    • idstringrequired
      Example:s1a2b3c4-d5e6-47f8-9a0b-1c2d3e4f5a6b
    • namestringrequired
      Example:Main Street House
    • typestringrequired
      Example:sil_house
    • default_support_typestring | nullrequired
      Example:community_access
    • descriptionstring | nullrequired
      Example:A supported independent living house
    • capacityinteger | nullrequired
      Example:4
    • addressobject | nullrequired
      ▶Show 11 child attributes
      • idstringrequired
        Example:a1d2d3r4-e5s6-47s8-9a0b-1c2d3e4f5a6b
      • address_1stringrequired
        Example:12 Harbour View Drive
      • address_2string | nullrequired
        Example:Unit 4
      • suburbstring | nullrequired
        Example:Lavender Bay
      • statestringrequired
        Example:NSW
      • postcodestringrequired
        Example:2060
      • countrystringrequired
        Example:Australia
      • latstring | nullrequired
        Example:-33.8447
      • lngstring | nullrequired
        Example:151.2094
      • traditional_place_namestring | nullrequired
        Example:Gadigal Country
      • detailsstring | nullrequired
        Example:Enter via the side gate
    • site_managerobject | nullrequired
      ▶Show 3 child attributes
      • idstringrequired
        Example:u1s2e3r4-a5b6-47c8-9d0e-1f2a3b4c5d6e
      • namestringrequired
        Example:John Doe
      • emailstringrequired
        Example:john.doe@example.com
    • tagsobject[]required
      ▶Show 4 child attributes
      • idstringrequired
        Example:s1i2t3e4-t5a6-47g8-9b0c-1d2e3f4a5b6c
      • namestringrequired
        Example:Vacancy
      • colourstring | nullrequired
        Example:#e30425
      • created_atstringrequired
        Example:2024-01-15T10:30:00+00:00
    • archived_atstring | nullrequired
      Example:2024-06-01T00:00:00+00:00
    • created_atstringrequired
      Example:2024-01-15T10:30:00+00:00
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found
  • 422Validation error