Partially update outbound application security
patch
/PASService/rest/services/v1/outboundApplications/{outboundApplicationId}/outboundSecurities/{securityId}
Partially updates the details of outbound application security
Request
Path Parameters
-
outboundApplicationId(required): string(guid)
OutboundApplication Id
-
securityId(required): string(guid)
Security Id
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
successful operation
Examples
This example describes how to update an outbound application security partially for the fields given in request body for a specified outbound application by outboundApplicationId and securityId.
Note
Below is the list of Fields that are not allowed for update using PATCH.
- outBoundSecurityId
- outBoundApplicationId
- authType
- createdGmt
- updatedGmt
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/outboundApplications/107655E1-E7CE-45FA-A5CD-616A33E5875E/outboundSecurities" \
-d '{"Use this placeholder to plug-in the example request body given below"}'
Example Request Body
The following shows the examples of the request body for JmsOutboundApplication, SoapOutboundApplication, and RestOutboundApplication in JSON format:
Request payload for JmsOutboundSecurity:
{
"outboundSecurity": {
"authentication": {
"userName": "Oswald",
"password": "Chambers"
}
}
}
Request payload for SoapOutboundSecurity:
{
"outboundSecurity": {
"authentication": {
"userName": "Oswald",
"password": "Chambers"
}
}
}
Request payload for RestOutboundSecurity:
{
"outboundSecurity": {
"authentication": {
"token":"am9objpzbWl0aA=="
}
}
}