Replace the sub-element SD.media-sec-policy.inbound
put
https://cloud-native-SBC-IP/config/v1/sd/media-sec-policy/{ElementKey}/inbound
Replace the sub-element SD.media-sec-policy.inbound
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
inbound
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
hide-egress-media-update: boolean
hide changes to ingress RTP egressing into realm
-
mode: string
Allowed Values:
[ "rtp", "srtp", "any" ]
-
profile: string
Pattern:
^([A-Za-z0-9_][A-Za-z0-9._\-]{0,127})?$
profile name -
protocol: string
Allowed Values:
[ "none", "sipura", "sdes" ]
Response
Supported Media Types
- application/json
200 Response
return the sub-element: MediaSecProfileInbound
Root Schema : schema
Type:
object
inbound
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
hide-egress-media-update: boolean
hide changes to ingress RTP egressing into realm
-
mode: string
Allowed Values:
[ "rtp", "srtp", "any" ]
-
profile: string
Pattern:
^([A-Za-z0-9_][A-Za-z0-9._\-]{0,127})?$
profile name -
protocol: string
Allowed Values:
[ "none", "sipura", "sdes" ]
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]
406 Response
Validation Failure
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]