@itentialopensource/adapter-tufin_secureapp
Version:
This adapter integrates with system: sample.
985 lines (737 loc) • 693 kB
YAML
openapi: 3.0.0
info:
title: Tufin-SecureApp-R19-2-RC1
description: Tufin Orchestration Suite - Tufin SecureChange/SecureApp APIs.<br>For detailed information about the APIs please see the documentation at:<br>https://your-securetrack-server/securechangeworkflow/apidoc
contact: {}
version: '1.0'
servers:
- url: http://example.com/securechangeworkflow/api
variables: {}
paths:
/secureapp/repository/applications/{applicationId}/application_access_requests:
get:
tags:
- Access Portal
summary: Retrieveexistingapplicationaccessrequests
description: '<u>Parameters:</u><br>applicationId: The unique identifier of the application<br><br><u>Usage Example</u><br>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/application_access_requests<br><br><u>Response Messages:</u><br>400: The application was already deleted.<br>401: Access is denied<br>401: You do not have permission to access application with ID<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>404: There is no application with the specified ID.'
operationId: Retrieveexistingapplicationaccessrequests
parameters:
- name: Accept
in: header
description: ''
required: true
style: simple
schema:
type: string
example: application/json
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
post:
tags:
- Access Portal
summary: Createapplicationaccessrequest
description: '<u>Parameters:</u><br>applicationId: The unique identifier of the application<br>body: application access request<br><br><u>Usage Example</u><br><table><tr><td>URL</td><td>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/application_access_requests</td></tr><tr><td>BODY</td><td><application_access_request><br> <server_group_id>1</server_group_id><br> <server_ip>1.1.1.1</server_ip><br> <comment>Request to join the WebServers server group</comment><br></application_access_request></td></tr></table><br><br><u>Response Messages:</u><br>201: Application access request was submitted.<br>400: The application was already deleted.<br>400: Server id cannot be empty.<br>400: Hostname or IP cannot be empty.<br>400: The provided server does not exist in application.<br>400: The provided server is not allowed to access.<br>400: Request already created<br>400: Requester cannot be null<br>400: Group cannot be empty<br>400: Invalid ip<br>401: Access is denied<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>404: There is no application with the specified ID.'
operationId: Createapplicationaccessrequest
parameters:
- name: Accept
in: header
description: ''
required: true
style: simple
schema:
type: string
example: application/json
- name: Content-Type
in: header
description: ''
required: true
style: simple
schema:
enum:
- application/xml
type: string
example: application/xml
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
requestBody:
description: ''
content:
application/xml:
schema:
allOf:
- $ref: '#/components/schemas/application_access_request'
- xml:
name: application_access_request
attribute: false
wrapped: false
example: >-
<application_access_request>
<server_group_id>1</server_group_id>
<server_ip>1.1.1.1</server_ip>
<comment>Request to join the WebServers server group</comment>
</application_access_request>
example: >-
<application_access_request>
<server_group_id>1</server_group_id>
<server_ip>1.1.1.1</server_ip>
<comment>Request to join the WebServers server group</comment>
</application_access_request>
required: true
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
put:
tags:
- Access Portal
summary: Updateapplicationaccessrequests
description: 'Use this API to approve or reject application access requests<br><br><u>Parameters:</u><br>applicationId: The unique identifier of the application<br>body: application access requests<br><br><u>Usage Example</u><br><table><tr><td>URL</td><td>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/application_access_requests</td></tr><tr><td>BODY</td><td><application_access_requests><br> <application_access_request><br> <id>1</id><br> <action>APPROVE</action><br> </application_access_request><br> <application_access_request><br> <id>2</id><br> <action>REJECT</action><br> </application_access_request><br></application_access_requests></td></tr></table><br><br><u>Response Messages:</u><br>200: Application access requests were updated.<br>400: The application was already deleted.<br>400: Invalid ID for access request<br>400: Cannot update access request with id ID<br>400: Action cannot be empty in request with id ID<br>400: Invalid action in request with id ID<br>400: The Server group is lock for discovery<br>401: Access is denied<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>404: There is no application with the specified ID.'
operationId: Updateapplicationaccessrequests
parameters:
- name: Accept
in: header
description: ''
required: true
style: simple
schema:
type: string
example: application/json
- name: Content-Type
in: header
description: ''
required: true
style: simple
schema:
enum:
- application/xml
type: string
example: application/xml
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
requestBody:
description: ''
content:
application/xml:
schema:
allOf:
- $ref: '#/components/schemas/application_access_requests'
- xml:
name: application_access_requests
attribute: false
wrapped: false
example: >-
<application_access_requests>
<application_access_request>
<id>1</id>
<action>APPROVE</action>
</application_access_request>
<application_access_request>
<id>2</id>
<action>REJECT</action>
</application_access_request>
</application_access_requests>
example: >-
<application_access_requests>
<application_access_request>
<id>1</id>
<action>APPROVE</action>
</application_access_request>
<application_access_request>
<id>2</id>
<action>REJECT</action>
</application_access_request>
</application_access_requests>
required: true
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
/secureapp/repository/applications/{applicationId}/application_access_requests/{requestId}:
get:
tags:
- Access Portal
summary: RetrieveanexistingapplicationaccessrequestbyID
description: '<u>Parameters:</u><br>applicationId: The unique identifier of the application<br>requestId: The unique identifier of the application access request<br><br><u>Usage Example</u><br>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/application_access_requests/1<br><br><u>Response Messages:</u><br>400: The application was already deleted.<br>401: Access is denied<br>401: You do not have permission to access application with ID<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>404: There is no application with the specified ID.<br>404: Access request with id ID was not found in application with id ID'
operationId: RetrieveanexistingapplicationaccessrequestbyID
parameters:
- name: Accept
in: header
description: ''
required: true
style: simple
schema:
type: string
example: application/json
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
- name: requestId
in: path
description: ''
required: true
style: simple
schema:
type: string
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
put:
tags:
- Access Portal
summary: Updateanapplicationaccessrequest
description: 'Use this API to approve or reject application access requests<br><br><u>Parameters:</u><br>applicationId: The unique identifier of the application<br>requestId: The unique identifier of the application access request<br>body: application access request<br><br><u>Usage Example</u><br><table><tr><td>URL</td><td>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/application_access_requests/1</td></tr><tr><td>BODY</td><td><application_access_request><br> <action>APPROVE</action><br></application_access_request></td></tr></table><br><br><u>Response Messages:</u><br>200: Application access request was updated.<br>400: The application was already deleted.<br>400: Invalid ID for access request<br>400: Cannot update access request with id ID<br>400: Action cannot be empty in request with id ID<br>400: Invalid action in request with id ID<br>400: The Server group is lock for discovery<br>401: Access is denied<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>404: There is no application with the specified ID.'
operationId: Updateanapplicationaccessrequest
parameters:
- name: Accept
in: header
description: ''
required: true
style: simple
schema:
type: string
example: application/json
- name: Content-Type
in: header
description: ''
required: true
style: simple
schema:
enum:
- application/xml
type: string
example: application/xml
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
- name: requestId
in: path
description: ''
required: true
style: simple
schema:
type: string
requestBody:
description: ''
content:
application/xml:
schema:
allOf:
- $ref: '#/components/schemas/application_access_request2'
- xml:
name: application_access_request
attribute: false
wrapped: false
example: >-
<application_access_request>
<action>APPROVE</action>
</application_access_request>
example: >-
<application_access_request>
<action>APPROVE</action>
</application_access_request>
required: true
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
/secureapp/repository/applications/{applicationId}/connections:
post:
tags:
- Application Connections
summary: Createconnections
description: '<u>Parameters:</u><br>applicationId: The unique identifier of the application<br>body: The list of the connections<br><br><u>Usage Example</u><br><table><tr><td>URL</td><td>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/2/connections</td></tr><tr><td>BODY</td><td><connections><br> <connection><br> <name>Connection A</name><br> <comment>Connection A comment</comment><br> <sources><br> <source><br> <id>2</id><br> </source><br> <source><br> <id>3</id><br> </source><br> </sources><br> <services><br> <service><br> <id>1</id><br> </service><br> </services><br> <destinations><br> <destination><br> <id>1</id><br> </destination><br> </destinations><br> </connection><br> <connection><br> <name>Connection B</name><br> </connection><br> <connection><br> <name>Connection C</name><br> <sources><br> <source><br> <id>2</id><br> </source><br> </sources><br> </connection><br></connections></td></tr></table><br><br><u>Response Messages:</u><br>200: Connections were created.<br>201: Connection was created.<br>400: There are no items to add.<br>400: You cannot add to application NAME because it was decommissioned.<br>400: Connection name already exists.<br>400: Reference to service ID is invalid.<br>400: Reference to source/destination with ID is invalid.<br>400: Connection NAME contains duplicate destinations.<br>400: Destination cannot contain users.<br>400: Resource cannot contain other objects along with Any.<br>400: Connection NAME contains duplicate sources.<br>400: You cannot add external resources to interface connections.<br>400: You cannot have Any in both the source and destination.<br>400: You cannot add external resources to interface connections.<br>400: Source cannot contain both users and servers.<br>400: Connection NAME contains duplicate services.<br>400: Cannot contain other services along with ANY.<br>400: Connections can only include objects within the same customer.<br>401: You do not have permission to access application that contains the server ID<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>401: You do not have permissions to edit this application.<br>401: Access is denied<br>404: There is no application with the specified ID.'
operationId: Createconnections
parameters:
- name: Content-Type
in: header
description: ''
required: true
style: simple
schema:
enum:
- application/xml
type: string
example: application/xml
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
requestBody:
description: ''
content:
application/xml:
schema:
allOf:
- $ref: '#/components/schemas/connections'
- xml:
name: connections
attribute: false
wrapped: false
example: >-
<connections>
<connection>
<name>Connection A</name>
<comment>Connection A comment</comment>
<sources>
<source>
<id>2</id>
</source>
<source>
<id>3</id>
</source>
</sources>
<services>
<service>
<id>1</id>
</service>
</services>
<destinations>
<destination>
<id>1</id>
</destination>
</destinations>
</connection>
<connection>
<name>Connection B</name>
</connection>
<connection>
<name>Connection C</name>
<sources>
<source>
<id>2</id>
</source>
</sources>
</connection>
</connections>
example: >-
<connections>
<connection>
<name>Connection A</name>
<comment>Connection A comment</comment>
<sources>
<source>
<id>2</id>
</source>
<source>
<id>3</id>
</source>
</sources>
<services>
<service>
<id>1</id>
</service>
</services>
<destinations>
<destination>
<id>1</id>
</destination>
</destinations>
</connection>
<connection>
<name>Connection B</name>
</connection>
<connection>
<name>Connection C</name>
<sources>
<source>
<id>2</id>
</source>
</sources>
</connection>
</connections>
required: true
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
put:
tags:
- Application Connections
summary: Updateconnections
description: '<u>Parameters:</u><br>applicationId: The unique identifier of the application<br>body: List of connections<br><br><u>Usage Example</u><br><table><tr><td>URL</td><td>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/2/connections</td></tr><tr><td>BODY</td><td><connections><br> <connection><br> <id>1</id><br> <name>Connection A</name><br> <comment>Connection A comment</comment><br> <sources><br> <source><br> <id>2</id><br> </source><br> <source><br> <id>3</id><br> </source><br> </sources><br> <services><br> <service><br> <id>1</id><br> </service><br> </services><br> <destinations><br> <destination><br> <id>1</id><br> </destination><br> </destinations><br> </connection><br> <connection><br> <id>2</id><br> <name>Connection B</name><br> </connection><br> <connection><br> <id>3</id><br> <name>Connection C</name><br> <sources><br> <source><br> <id>2</id><br> </source><br> </sources><br> </connection><br></connections></td></tr></table><br><br><u>Response Messages:</u><br>200: Connections were modified.<br>400: Reference to service ID is invalid.<br>400: Reference to source/destination with ID is invalid.<br>400: Connection name cannot be empty.<br>400: Connection name already exists.<br>400: Connection NAME contains duplicate destinations.<br>400: Destination cannot contain users.<br>400: Resource cannot contain other objects along with Any.<br>400: Connection NAME contains duplicate sources.<br>400: You cannot add external resources to interface connections.<br>400: You cannot have Any in both the source and destination.<br>400: You cannot add external resources to interface connections.<br>400: Source cannot contain both users and servers.<br>400: Connection NAME contains duplicate services.<br>400: Cannot contain other services along with ANY.<br>400: Connections can only include objects within the same customer.<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>401: You do not have permission to access application that contains the server ID<br>401: You do not have permissions to edit this application.<br>401: Access is denied<br>401: You cannot edit or delete an external connection.<br>404: There is no application with the specified ID.<br>404: Connection with ID was not found for application with ID.'
operationId: Updateconnections
parameters:
- name: Content-Type
in: header
description: ''
required: true
style: simple
schema:
enum:
- application/xml
type: string
example: application/xml
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
requestBody:
description: ''
content:
application/xml:
schema:
allOf:
- $ref: '#/components/schemas/connections1'
- xml:
name: connections
attribute: false
wrapped: false
example: >-
<connections>
<connection>
<id>1</id>
<name>Connection A</name>
<comment>Connection A comment</comment>
<sources>
<source>
<id>2</id>
</source>
<source>
<id>3</id>
</source>
</sources>
<services>
<service>
<id>1</id>
</service>
</services>
<destinations>
<destination>
<id>1</id>
</destination>
</destinations>
</connection>
<connection>
<id>2</id>
<name>Connection B</name>
</connection>
<connection>
<id>3</id>
<name>Connection C</name>
<sources>
<source>
<id>2</id>
</source>
</sources>
</connection>
</connections>
example: >-
<connections>
<connection>
<id>1</id>
<name>Connection A</name>
<comment>Connection A comment</comment>
<sources>
<source>
<id>2</id>
</source>
<source>
<id>3</id>
</source>
</sources>
<services>
<service>
<id>1</id>
</service>
</services>
<destinations>
<destination>
<id>1</id>
</destination>
</destinations>
</connection>
<connection>
<id>2</id>
<name>Connection B</name>
</connection>
<connection>
<id>3</id>
<name>Connection C</name>
<sources>
<source>
<id>2</id>
</source>
</sources>
</connection>
</connections>
required: true
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
get:
tags:
- Application Connections
summary: Retrieveexistingconnections
description: '<u>Parameters:</u><br>applicationId: The unique identifier of the application<br>name: The name of the connection [optional]<br><br><u>Usage Example</u><br>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/connections<br><br><u>Usage Example</u><br>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/connections?name=Connection Name<br><br><u>Response Messages:</u><br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>401: Access is denied<br>401: You do not have permission to access application with ID<br>404: There is no application with the specified ID.<br>404: There are no connections with the name NAME.'
operationId: Retrieveexistingconnections
parameters:
- name: Accept
in: header
description: ''
required: true
style: simple
schema:
type: string
example: application/json
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
/secureapp/repository/applications/{applicationId}/connections_extended:
get:
tags:
- Application Connections
summary: Retrieveexistingconnections,withextendedresourcesinformation
description: '<u>Parameters:</u><br>applicationId: The unique identifier of the application<br>name: The name of the connection [optional]<br>start: Return results starting only from the specified index; 0-based index; default value = 0 [optional]<br>count: Return the specified number of results. Returns all results if no value specified [optional]<br><br><u>Usage Example</u><br>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/connections_extended<br><br><u>Usage Example</u><br>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/connections_extended?name=Connection Name<br><br><u>Usage Example</u><br>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/connections_extended?name=Connection Name&start=50&count=100<br><br><u>Response Messages:</u><br>400: Start value cannot be a negative number.<br>400: Count value must be greater than 0.<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>401: Access is denied.<br>404: There is no application with the specified ID.<br>404: There are no connections with the name NAME.'
operationId: Retrieveexistingconnections,withextendedresourcesinformation
parameters:
- name: Accept
in: header
description: ''
required: true
style: simple
schema:
type: string
example: application/json
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
/secureapp/repository/applications/{application_id}/connections/{connection_id}/repair:
post:
tags:
- Application Connections
summary: Createatickettorepairaconnection
description: '<u>Parameters:</u><br>application_id: The application ID<br>connection_id: The connection ID<br>body: Ticket<br><br><u>Usage Example</u><br><table><tr><td>URL</td><td>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/connections/2/repair</td></tr><tr><td>BODY</td><td><ticket><br> <subject>Repair connection 2</subject><br> <requester>u1</requester><br> <priority>Normal</priority><br> <workflow><br> <name>Workflow with topology</name><br> </workflow><br> <steps><br> <step><br> <name>Open request</name><br> <tasks><br> <task><br> <fields><br> <field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="text_area"><br> <name>Business Justification</name><br> <text>I need access to ftp </text><br> </field><br> <field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="text_field"><br> <name>Project Number</name><br> <text>CR124560</text><br> </field><br> <field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="hyperlink"><br> <name>Hyperlink</name><br> <url>http://192.168.1.1/ticket</url><br> </field><br> <field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="drop_down_list"><br> <name>Change Window</name><br> <selection>Monday</selection><br> </field><br> <field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="manager"><br> <name>manager email</name><br> <text>manager@tufin.com</text><br> </field><br> </fields><br> </task><br> </tasks><br> </step><br> </steps><br> <comments/><br></ticket></td></tr></table><br><br><u>Response Messages:</u><br>201: Ticket was created.<br>401: Access is denied.<br>401: To create a ticket you must purchase a valid SecureChange license.<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>401: You do not have permissions to edit this application.<br>404: There is no application with the specified ID.<br>404: Connection with ID was not found for application with ID.<br>403: Cannot create a ticket to repair this connection because the connection status is not disconnected.<br>403: Cannot create a ticket to repair this connection because the connection was edited but a ticket has not been created yet.<br>403: Cannot create a ticket to repair this connection because there are other open tickets for an application that includes this connection.<br>400: The requester must be the currently logged in user.<br>400: Workflow was not found.<br>400: Workflow is not active.<br>400: Workflow configuration is not valid.<br>400: Workflow is not set.<br>401: Logged in user: NAME do not have permission to perform on behalf actions.<br>401: You are not a participant in the first step of this workflow.<br>400: You cannot enter a status for a new ticket.<br>400: Requester cannot open a ticket in domain.<br>400: Invalid ticket priority.<br>400: Expiration field is required.<br>400: Submit ticket enabled only with the first step.<br>400: First step can be only with one task.<br>400: The specified workflow does not contain an access request field in the first step.<br>400: You cannot use an access request field to create a ticket from SecureApp.<br>400: The ticket fields do not match the fields in the current step of the workflow.<br>400: You cannot change the value of a field because it is read-only.'
operationId: Createatickettorepairaconnection
parameters:
- name: Accept
in: header
description: ''
required: true
style: simple
schema:
type: string
example: application/json
- name: Content-Type
in: header
description: ''
required: true
style: simple
schema:
enum:
- application/xml
type: string
example: application/xml
- name: application_id
in: path
description: ''
required: true
style: simple
schema:
type: string
- name: connection_id
in: path
description: ''
required: true
style: simple
schema:
type: string
requestBody:
description: ''
content:
application/xml:
schema:
allOf:
- $ref: '#/components/schemas/ticket'
- xml:
name: ticket
attribute: false
wrapped: false
example: >-
<ticket>
<subject>Repair connection 2</subject>
<requester>u1</requester>
<priority>Normal</priority>
<workflow>
<name>Workflow with topology</name>
</workflow>
<steps>
<step>
<name>Open request</name>
<tasks>
<task>
<fields>
<field type="text_area">
<name>Business Justification</name>
<text>I need access to ftp </text>
</field>
<field type="text_field">
<name>Project Number</name>
<text>CR124560</text>
</field>
<field type="hyperlink">
<name>Hyperlink</name>
<url>http://192.168.1.1/ticket</url>
</field>
<field type="drop_down_list">
<name>Change Window</name>
<selection>Monday</selection>
</field>
<field type="manager">
<name>manager email</name>
<text>manager@tufin.com</text>
</field>
</fields>
</task>
</tasks>
</step>
</steps>
</ticket>
example: >-
<ticket>
<subject>Repair connection 2</subject>
<requester>u1</requester>
<priority>Normal</priority>
<workflow>
<name>Workflow with topology</name>
</workflow>
<steps>
<step>
<name>Open request</name>
<tasks>
<task>
<fields>
<field type="text_area">
<name>Business Justification</name>
<text>I need access to ftp </text>
</field>
<field type="text_field">
<name>Project Number</name>
<text>CR124560</text>
</field>
<field type="hyperlink">
<name>Hyperlink</name>
<url>http://192.168.1.1/ticket</url>
</field>
<field type="drop_down_list">
<name>Change Window</name>
<selection>Monday</selection>
</field>
<field type="manager">
<name>manager email</name>
<text>manager@tufin.com</text>
</field>
</fields>
</task>
</tasks>
</step>
</steps>
</ticket>
required: true
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
/secureapp/repository/applications/{applicationId}/connections/{connectionId}:
delete:
tags:
- Application Connections
summary: Deleteconnection
description: '<u>Parameters:</u><br>applicationId: The unique identifier of the application<br>connectionId: The unique identifier of the connection<br><br><u>Usage Example</u><br>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/1/connections/1<br><br><u>Response Messages:</u><br>200: Connection was deleted.<br>401: No available licenses. Ask your SecureApp administrator for assistance.<br>401: You do not have permissions to edit this application.<br>401: Access is denied<br>401: You cannot edit or delete an external connection.<br>404: There is no application with the specified ID.<br>404: Connection with ID was not found for application with ID.'
operationId: Deleteconnection
parameters:
- name: applicationId
in: path
description: ''
required: true
style: simple
schema:
type: string
- name: connectionId
in: path
description: ''
required: true
style: simple
schema:
type: string
responses:
'200':
description: ''
headers: {}
content: {}
deprecated: false
put:
tags:
- Application Connections
summary: Updateaconnection
description: '<u>Parameters:</u><br>applicationId: The unique identifier of the application<br>connectionId: The unique identifier of the connection<br>body: Connection<br><br><u>Usage Example</u><br><table><tr><td>URL</td><td>https://192.168.1.1/securechangeworkflow/api/secureapp/repository/applications/2/connections/1</td></tr><tr><td>BODY</td><td> <connection><br> <name>Connection A</name><br> <comment>Connection A comment</comment><br> <sources><br> <source><br> <id>2</id><br> </source><br> <source><br> <id>3</id><br> </source><br> </sources><br> <services><br> <service><br> <id>1</id><br> </service><br> </services><br> <destinations><br> <destination><br> <id>1</id><br> </destination><br> </destinations><br> </connection></td></tr></table><br><br><u>Response Messages:</u><br>200: Connection was modified.<br>400: Reference to service ID is invalid.<br>400: Reference to source/destination with ID is invalid.<br>400: Connection name cannot be empty.<br>400: Connection name already exists.<br>400: Connection NAME contains duplicate destinations.<br>400: Destination cannot contain users.<br>400: Resource cannot contain other objec