Departments
Create a department
Members and head are profile ids from the Team Members doc.
Authorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/departments" \ -H "Content-Type: application/json" \ -d '{ "name": "Example Department" }'{
"id": "string",
"name": "string",
"isActive": true,
"memberCount": 0
}Empty
Empty
Empty
Empty
How is this guide?
Last updated on