- URL:https://<users-url>/updateEnterpriseUser
- Required Capability:Default administrator role | Security and infrastructure privilege | Add privilege
- Version Introduced:10.3
Description
This operation allows an administrator to update the idpUsernamefor an enterprise user in the portal. This is used when migrating from accounts used with web-tier authentication to SAML authentication.
Request parameters
Parameter | Details |
---|---|
username | Username of the enterprise account. Example
|
idpUsername | Username used by the SAML identity provider. Example
|
f | The response format. The default value is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for updateEnterpriseUser:
POST /webadaptor/portaladmin/security/users/updateEnterpriseUser HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
username=john&idpUsername=john@company.com&f=json
JSON Response example
{"status": "success"}