Replace a config element: SD.media-sec-policy
put
https://cloud-native-SBC-IP/config/v1/sd/media-sec-policy/{ElementKey}
Replace a config element: SD.media-sec-policy
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure media security policy
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
inbound: object
MediaSecProfileInbound
inbound
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name -
options: string
optional features/parameters
-
outbound: object
MediaSecProfileOutbound
outbound
-
pass-through: boolean
pass-through
Nested Schema : MediaSecProfileInbound
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" ]
Nested Schema : MediaSecProfileOutbound
Type:
object
outbound
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
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 one config element: SrtpPolicy
Root Schema : schema
Type:
object
configure media security policy
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
inbound: object
MediaSecProfileInbound
inbound
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name -
options: string
optional features/parameters
-
outbound: object
MediaSecProfileOutbound
outbound
-
pass-through: boolean
pass-through
Nested Schema : MediaSecProfileInbound
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" ]
Nested Schema : MediaSecProfileOutbound
Type:
object
outbound
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
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" ]