- URL:https://<oauth-url>/changeAppID(POST only)
- Required Capability:Default administrator role | Security and infrastructure privilege
- Version Introduced:10.3
Description
When new applications are registered with Portal for ArcGIS, a new client ID is generated for the application. This allows the application to access content from the portal. The new client ID does not work if the application developer has programmed against a specific ID. This operation changes the client ID to a new values, as specified by the application developer.
Request parameters
Parameter | Details |
---|---|
currentAppID | The current client ID of an existing application. Example
|
newAppID | The new client ID to assign to the application. Example
|
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample request URL for changeAppID:
POST /webadaptor/portaladmin/security/oauth/changeAppID HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
currentAppID=sj290209shsnw&newAppID=wejjoi8723902&f=json
JSON Response example
{"status": "success"}