Update mTLS end point alias
put
/oam/services/rest/ssa/api/v1/hostalias/mtls
Request
Supported Media Types
- application/json
MTLS end point alias configuration
Root Schema : mTLSEndpoint
Type:
Show Source
object-
hostname(required):
string
Host name of the mTLS end point
-
port(required):
string
Port of the mTLS end point
Response
Supported Media Types
- application/json
200 Response
Sucessfully modified entity - mTLS Configuration, detail -
Root Schema : mTLSEndpointResponse
Type:
Show Source
object-
hostname:
string
Host name of the mTLS end point
-
message:
string
Error messages
-
port:
string
Port of the mTLS end point
422 Response
Failed to create entity - mTLS Configuration. Invalid Input.
Examples
cURL Sample Request
curl --location --request PUT 'https://<admin-host>:<admin-port>/oam/services/rest/ssa/api/v1/hostalias/mtls' \
--header 'Authorization: Basic dGVzdDp0ZXN0=' \
--header 'Content-Type: application/json' \
--data-raw '{
"hostname": "hostname1",
"port": "4443"
}'cURL Sample Response
Sucessfully modified entity - MTLSConfiguration, detail - {"hostname":"hostname1","port":"4443"}