- URL:https://<oauth-url>/updateAppInfo(POST only)
- Required Capability:Default administrator role | Security and infrastructure privilege
- Version Introduced:10.3
Description
This operation allows you to update the OAuth-specific properties associated with an application. Use the Get App Info operation to obtain the existing OAuth properties that can be edited.
Request parameters
Parameter | Details |
---|---|
appInfo | The JSON object representing the app info. Example
|
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for updateAppInfo, formatted for readability:
POST /webadaptor/portaladmin/oauth/updateAppInfo HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
appInfo={
"appId": "mapsForDynamicsCRM",
"redirectURIs": [
"https://machine.domain.com",
"https://crm.domain.com/maps"
]
}&f=json
JSON Response example
{"status": "success"}