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} : ADBrukernavnReturn values : http response OK/NotFound with status message, or internalserver error + exception
Parameters
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) and Code. | string |
Responses
Code | Returns | Type |
---|---|---|
200 | Success | |
500 | Server Error | |
401 | Unauthorized | ProblemDetails |
404 | Not Found |