sectors

Create Sector

Create a new sector or subsector.

  • To create a root sector: provide only name (and optionally info)
  • To create a subsector: provide name and father_sector_uuid (and optionally info)

Args: payload: SectorCreate payload with name, optional father_sector_uuid, and info

Returns: Created Sector instance

post/api/sectors/

Request

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

Request body

namestring required
infoobject nullable
father_sector_uuidstring uuid4 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.