Logo
Profit.co's Public API Documentation

Delete Department

POST https://api.profit.co/app/dao/v6/okrsettings?a=deleteDepartment&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>

To delete the department by DepartmentId

 

Body PARAM

Key Datatype Required Description 
a
string action type
apiKey
string Required: API key of your Profit.co Account
accessKey
string Required: Access key of your Profit.co Account



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'https://api.profit.co/app/dao/v6/okrsettings?a=deleteDepartment&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>?a=deleteDepartment&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>' -F '{"name"=>"departmentId", "value"=>"<DEPARTMENT_ID>\n", "datatype"=>"string"}='

ENDPOINTS