Update an Integration

patch

/rest/v16/integrationVendors/{id}

This endpoint updates an existing integration.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : integrationVendor-request
Type: object
Show Source
Nested Schema : properties
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The updated integration details.
Body ()
Root Schema : integrationVendor
Match All
Show Source
Nested Schema : integrationVendor-request
Type: object
Show Source
Nested Schema : integrationVendor-allOf[1]
Type: object
Show Source
  • Title: Id
    The unique integer identifier for the integration.
Nested Schema : properties
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

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"
    }
  ]
}
Back to Top