v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
classifications

Archive a department

Archive an existing department. In the response, the archived field is set as true.

post/v3/classifications/departments/{id}/archive

Path parameters

idstring required

BILL-generated ID of the department. The value begins with 0de.

Example:{{department_id}}

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Response

Archive a department response

idstring

BILL-generated ID of the department. The value begins with 0de.

namestring

Department name

shortNamestring

Department short name

descriptionstring

Department description

parentIdstring

BILL-generated ID of the parent department. You can set this field if this department is a child object.

archivedboolean

Set as true if the department is archived

createdTimestring date-time

Created date and time

updatedTimestring date-time

Updated date and time