Delete A Department

Arguments id Unique identifier for the term. force Required to be true, as terms do not support trashing. Definition DELETE /wpas-api/v1/department/<id> Example Request $ curl -X DELETE...

Update A Department

Arguments id Unique identifier for the term. description HTML description of the term. name HTML title for the term. slug An alphanumeric identifier for the term unique to its type. parent The parent term ID. meta Meta fields.   Definition POST...

Retrieve A Department

Arguments id Unique identifier for the term. context Scope under which the request is made; determines fields present in response. Default: view One of: view, embed, edit Definition GET /wpas-api/v1/department/<id> Example Request $ curl...

Create A Department

Arguments description HTML description of the term. name HTML title for the term. Required: true slug An alphanumeric identifier for the term unique to its type. parent The parent term ID. meta Meta fields. Definition POST...

List Departments

Arguments context Scope under which the request is made; determines fields present in response. Default: view One of: view, embed, edit page Current page of the collection. Default: 1 per_page Maximum number of items to be returned in result set. Default: 10 search...