delete mTLS end point alias
delete
/oam/services/rest/ssa/api/v1/hostalias/mtls
Delete mTLS end point alias.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Sucessfully deleted 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
404 Response
Sucessfully deleted 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 deleted entity - mTLS Configuration. Invalid input.
Examples
cURL Sample Request
curl --location --request DELETE '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 deleted entity - MTLSConfiguration, detail - {"message": "MTLS configuration deleted successfully"}