You can change User Portal settings by sending the POST request to the following URL: /account/user_portal.
Permission to run the request: Account Owner, Administrator.
|X-Auth-Account-Url (required)||Base URL of the account, e.g. http://myaccount.ispringlearn.com|
|X-Auth-Email (required)||Administrator/Publisher e-mail address.|
|X-Auth-Password (required)||Administrator/Publisher password.|
|X-User-Portal-Enabled (optional, default: 1)||0 or 1|
|X-Welcome-Title (optional)||Welcome Title that will be displayed in User Portal.|
|X-Instruction-Message (optional)||Instruction Message that will be displayed in User Portal.|
|X-Show-History-Reports (optional, default: 1)||0 or 1|
Specify how to sort courses in User Portal: by status, title or duration.
After the request has been completed, the system returns the response with Code 200.
Possible Response Codes
|403||Permission denied||You have no permission to change the setting of User Portal. Only Account Owner and Administrator have permission to send the request.|
|400||Bad Request||The system failed to process the request, because it did not contain all necessary parameters.|
|200||Ok||User Portal settings have been changed.|