- URL:
- https://<root>/portals/[portalID]/security/secureconfigs/[configID]/update
- Methods:
POST- Version Introduced:
- 12.2
Example usage
The following is a sample POST request for the update operation:
POST /<context>/sharing/rest/portals/0123456789ABCDEF/security/secureconfigs/VLbEagHGpW3snTc9/update HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: [ ]
name=G3DTiles Credentials&description=To be used for Google 3D Photorealistic Basemap&credentialType=AGOL_CREDENTIALS&usagePurpose=G3DTiles&status=active&configJson={"authenticationProperties": {"username":"userG3D","authenticationUrl":"https://www.arcgis.com/sharing/rest/generateToken"},"authenticationSecrets": {"password": "updatedPassword"}}&token=<token>Description
The update operation can be used to modify aspects of a currently configured ArcGIS Online administrative credentials, such as the name, description, status, and account credentials. While this operation can be performed from the Portal Directory API, its recommended that these credentials are added to the organization from the portal site's organization settings page, under Map and scene.
Request parameters
| Parameter | Details |
|---|---|
(Required) | A user-specified name for the configuration. |
(Optional) | An optional user-specified description for the configuration. |
(Required) | The type of credentials being stored. At ArcGIS Enterprise 12.2, the only supported type is Values: |
(Required) | The organization feature the credentials are used for. At ArcGIS Enterprise 12.2, the only supported purpose is Values: |
(Required) | The current status of the credentials, indicating whether they are actively being used or if they are inactive. Values: |
(Required) | A JSON object that contains the authentication properties needed to access the ArcGIS Online account, including the account's username and password as well as a URL that points to the specified authentication method for the ArcGIS Online account. Syntax: Example: |