Update an Integration
patch
/rest/v16/integrationVendors/{id}
This endpoint updates an existing integration.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
The unique integer identifier for the integration.
Root Schema : integrationVendor-request
Type:
Show Source
object
-
cert:
string
Title:
Certificate
The string value for the certificate. -
certName:
string
Title:
Certificate Name
The string value for the certificate name. -
integrationType:
string
Title:
Integration Type
The string value for the type of integrationn. -
loginEndpoint:
string
Title:
Login Endpoint
The string value for the login endpoint. -
properties:
object properties
-
vendorName:
string
Title:
Vendor Name
The string value for the name of the vendor.
Nested Schema : items
Type:
Show Source
object
-
name:
string
Title:
Property Name
Integration property name. -
value:
string
Title:
Property Value
Integration property value.
Response
Supported Media Types
- application/json
Default Response
The updated integration details.
Nested Schema : integrationVendor-request
Type:
Show Source
object
-
cert:
string
Title:
Certificate
The string value for the certificate. -
certName:
string
Title:
Certificate Name
The string value for the certificate name. -
integrationType:
string
Title:
Integration Type
The string value for the type of integrationn. -
loginEndpoint:
string
Title:
Login Endpoint
The string value for the login endpoint. -
properties:
object properties
-
vendorName:
string
Title:
Vendor Name
The string value for the name of the vendor.
Nested Schema : integrationVendor-allOf[1]
Type:
Show Source
object
-
id:
integer
Title:
Id
The unique integer identifier for the integration.
Nested Schema : items
Type:
Show Source
object
-
name:
string
Title:
Property Name
Integration property name. -
value:
string
Title:
Property Value
Integration property value.
Examples
The following example shows how to update an existing integration by submitting a PATCH request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/integrationVendors/3022874193
Request Body Sample
{ "properties": { "items": [{ "name": "cpqClientId", "value": "836954009fe54f1382d0ba1d607a038d" }, { "name": "oAuthProviderScope", "value": "urn:opc:idm:__myscopes__" } ] } }
Response Body Sample
{ "integrationType": "oAuthProvider", "vendorName": "Identity Cloud Service", "loginEndpoint": "https://idp.oracle.com", "properties": { "items": [{ "name": "resourceEP", "value": "/admin/v1/SigningCert/jwk" }, { "name": "clientId", "value": "836954009fe54f1382d0ba1d607a038d" }, { "name": "tokenEP", "value": "/oauth2/v1/token" }, { "name": "oAuthProviderScope", "value": "urn:opc:idm:__myscopes__" }, { "name": "retrieveCertificate", "value": "true" }, { "name": "cpqClientId", "value": "836954009fe54f1382d0ba1d607a038d" }, { "name": "issuer", "value": "https://identity.oraclecloud.com/" } ] }, "id": 3022874193, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v16/integrationVendors/3022874193" } ] }