For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete Department

Delete department

post
/api/Public/DeleteDepartment/delete
Authorizations
AuthorizationstringRequired

JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.

Body
departmentIdinteger · int32Required
Responses
200

OK

No content

post/api/Public/DeleteDepartment/delete
POST /api/Public/DeleteDepartment/delete HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "departmentId": 1
}
200

OK

No content

Bulk delete

post
/api/Public/DeleteDepartment/bulk-delete
Authorizations
AuthorizationstringRequired

JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.

Body
departmentIdsinteger · int32[] · min: 1Required
Responses
200

OK

No content

post/api/Public/DeleteDepartment/bulk-delete
POST /api/Public/DeleteDepartment/bulk-delete HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "departmentIds": [
    1
  ]
}
200

OK

No content

Soft delete

post
/api/Public/DeleteDepartment/soft-delete
Authorizations
AuthorizationstringRequired

JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.

Body
departmentIdinteger · int32Required
Responses
200

OK

No content

post/api/Public/DeleteDepartment/soft-delete
POST /api/Public/DeleteDepartment/soft-delete HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "departmentId": 1
}
200

OK

No content

Last updated