Replace a config element: SD.enforcement-profile
put
https://cloud-native-SBC-IP/config/v1/sd/enforcement-profile/{ElementKey}
Replace a config element: SD.enforcement-profile
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure enforcement profiles
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
add-certificate-info: array
add-certificate-info
list of Certificate attributes to be inserted
-
allowed-elements-profile: string
Pattern:
^.*$
name of the allowed-elements-profile -
allowed-methods: string
list of allowed methods <INVITE, REGISTER, PRACK, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE, MESSAGE, PUBLISH>
-
certificate-ruri-check: boolean
verify ruri against certificate attributes
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of the enforcement profile -
sdp-address-check: boolean
sdp address check
Nested Schema : add-certificate-info
Type:
array
list of Certificate attributes to be inserted
Show Source
-
Array of:
string
Allowed Values:
[ "sub-common-name", "sub-alt-name-DNS" ]
Response
Supported Media Types
- application/json
200 Response
return one config element: EnforcementProfile
Root Schema : schema
Type:
object
configure enforcement profiles
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
add-certificate-info: array
add-certificate-info
list of Certificate attributes to be inserted
-
allowed-elements-profile: string
Pattern:
^.*$
name of the allowed-elements-profile -
allowed-methods: string
list of allowed methods <INVITE, REGISTER, PRACK, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE, MESSAGE, PUBLISH>
-
certificate-ruri-check: boolean
verify ruri against certificate attributes
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of the enforcement profile -
sdp-address-check: boolean
sdp address check
Nested Schema : add-certificate-info
Type:
array
list of Certificate attributes to be inserted
Show Source
-
Array of:
string
Allowed Values:
[ "sub-common-name", "sub-alt-name-DNS" ]
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" ]