Update an Integration
patch
/rest/v19/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:
CertificateThe string value for the certificate. -
certName:
string
Title:
Certificate NameThe string value for the certificate name. -
integrationType:
string
Title:
Integration TypeThe string value for the type of integrationn. -
loginEndpoint:
string
Title:
Login EndpointThe string value for the login endpoint. -
properties:
object properties
-
vendorName:
string
Title:
Vendor NameThe string value for the name of the vendor.
Nested Schema : items
Type:
Show Source
object-
name:
string
Title:
Property NameIntegration property name. -
value:
string
Title:
Property ValueIntegration 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:
CertificateThe string value for the certificate. -
certName:
string
Title:
Certificate NameThe string value for the certificate name. -
integrationType:
string
Title:
Integration TypeThe string value for the type of integrationn. -
loginEndpoint:
string
Title:
Login EndpointThe string value for the login endpoint. -
properties:
object properties
-
vendorName:
string
Title:
Vendor NameThe string value for the name of the vendor.
Nested Schema : integrationVendor-allOf[1]
Type:
Show Source
object-
id:
integer
Title:
IdThe unique integer identifier for the integration.
Nested Schema : items
Type:
Show Source
object-
name:
string
Title:
Property NameIntegration property name. -
value:
string
Title:
Property ValueIntegration 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 PATCH -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/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/v19/integrationVendors/3022874193"
}
]
}