DELETE /api/v2/users/{usergidid}/activation
Deactivates a WebSak user by setting the expiration date to yesterday.
Parameters
| Name | In | Description | Required | Type |
|---|---|---|---|---|
| userGidId | path | User GID id (gid_gidid). | 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 | |
| 404 | Not Found | |
| 500 | Internal Server Error |
PUT /api/v2/users/{usergidid}/activation
Activates a WebSak user by removing the expiration date from the user profile.
Parameters
| Name | In | Description | Required | Type |
|---|---|---|---|---|
| userGidId | path | User GID id (gid_gidid). | 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 | |
| 404 | Not Found | |
| 500 | Internal Server Error |