sectors

Update Sector

Update an existing sector or subsector.

You can:

  • Update the name
  • Update the info
  • Change the father sector (set a new father_sector_uuid)
  • Remove the father relationship (set father_sector_uuid to null)
  • Convert a subsector to a root sector (set father_sector_uuid to null)

Args: sector_uuid: UUID of the sector to update payload: SectorUpdate payload with optional fields to update

Returns: Updated Sector instance

patch/api/sectors/{sector_uuid}

Request

  • Base URL
    https://api.regdoor.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

sector_uuidstring uuid required

Request body

namestring nullable
father_sector_uuidstring uuid4 nullable
infoobject nullable

Response

Successful Response

namestring required
infoobject nullable
uuidstring uuid4 required
father_sector_uuidstring uuid4 nullable
created_atstring date-time required
updated_atstring date-time required
deleted_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.