DELETE /api/v2/departments/{departmentid}/activation
Sets final date for department.
Parameters
| Name | In | Description | Required | Type |
|---|---|---|---|---|
| departmentId | path | Department id (soa_avdelingId). | true | string |
Responses
| Code | Returns | Type |
|---|---|---|
| 200 | OK | |
| 401 | Unauthorized - Missing or invalid access token | |
| 403 | Forbidden - Provided access token does not permit usage of this API or data | |
| 500 | Internal Server Error |
PUT /api/v2/departments/{departmentid}/activation
Activates department by setting final date to [null].
Parameters
| Name | In | Description | Required | Type |
|---|---|---|---|---|
| departmentId | path | Department id (soa_avdelingId). | true | string |
Responses
| Code | Returns | Type |
|---|---|---|
| 200 | OK | |
| 401 | Unauthorized - Missing or invalid access token | |
| 403 | Forbidden - Provided access token does not permit usage of this API or data | |
| 500 | Internal Server Error |