GET /api/users/{id}/activate
Activates websak user by setting expiration date to [null]
Description
Activates a user.
User is immedately activated by removing expiration date from profile.
Parametere {id} : ADBrukernavn Return values : http response OK/NotFound with status message, or internalserver error + exceptionParameters
| Name | In | Description | Required | Type |
|---|---|---|---|---|
| id | path | User AD string identifier | true | string |
| lookupField | query | Lookup field. Field to use when finding user. Possible values: Id (default), gidid and Code. | string |
Responses
| Code | Returns | Type |
|---|---|---|
| 200 | OK | |
| 500 | Internal Server Error | |
| 404 | Not Found | |
| 401 | Unauthorized - Missing or invalid access token | |
| 403 | Forbidden - Provided access token does not permit usage of this API or data |