Replace a sub-element: SD.allowed-elements-profile.rule-sets
put
https://cloud-native-SBC-IP/config/v1/sd/allowed-elements-profile/{ElementKey}/rule-sets/{ElementKeySE}
Replace a sub-element: SD.allowed-elements-profile.rule-sets
Request
Path Parameters
-
ElementKey: string
Identifier for the element
-
ElementKeySE: string
Identifier for the sub-element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
list of rule-sets
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
header-rules: array
header-rules
list of header-rules
-
logging: boolean
enable logging of messages when unmatched element exists
-
methods: array
methods
Unique Items Required:
true
specifies list of methods to which the rule applies (applies to all methods when none are specified) -
msg-type: string
Allowed Values:
[ "any", "request", "response" ]
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
unique identifier of the rule-set -
unmatched-action: string
Allowed Values:
[ "reject", "delete" ]
Nested Schema : header-rules
Type:
array
list of header-rules
Show Source
-
Array of:
object WLHeaderRuleConfig
list of header-rules
Nested Schema : methods
Type:
array
Unique Items Required:
true
specifies list of methods to which the rule applies (applies to all methods when none are specified)
Show Source
Nested Schema : WLHeaderRuleConfig
Type:
object
list of header-rules
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
allow-header-param: array
allow-header-param
Unique Items Required:
true
the list of header parameters which are allowed, where * implies all are allowed -
allow-uri-header-name: array
allow-uri-header-name
Unique Items Required:
true
the list of URI header names which are allowed, where * implies all are allowed -
allow-uri-param: array
allow-uri-param
Unique Items Required:
true
the list of URI parameters which are allowed, where * implies all are allowed -
allow-uri-user-param: array
allow-uri-user-param
Unique Items Required:
true
the list of URI user parameters which are allowed, where * implies all are allowed -
header-name(required): string
Minimum Length:
1
name of the allowed header. To change the request line of a request, use the header name request-uri. To apply the rule to all unmatched headers, use the header name * -
unmatched-action: string
Allowed Values:
[ "reject", "delete" ]
Nested Schema : allow-header-param
Type:
array
Unique Items Required:
true
the list of header parameters which are allowed, where * implies all are allowed
Show Source
Nested Schema : allow-uri-header-name
Type:
array
Unique Items Required:
true
the list of URI header names which are allowed, where * implies all are allowed
Show Source
Nested Schema : allow-uri-param
Type:
array
Unique Items Required:
true
the list of URI parameters which are allowed, where * implies all are allowed
Show Source
Nested Schema : allow-uri-user-param
Type:
array
Unique Items Required:
true
the list of URI user parameters which are allowed, where * implies all are allowed
Show Source
Response
Supported Media Types
- application/json
200 Response
return one sub element: WLRuleSetConfig
Root Schema : schema
Type:
object
list of rule-sets
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
header-rules: array
header-rules
list of header-rules
-
logging: boolean
enable logging of messages when unmatched element exists
-
methods: array
methods
Unique Items Required:
true
specifies list of methods to which the rule applies (applies to all methods when none are specified) -
msg-type: string
Allowed Values:
[ "any", "request", "response" ]
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
unique identifier of the rule-set -
unmatched-action: string
Allowed Values:
[ "reject", "delete" ]
Nested Schema : header-rules
Type:
array
list of header-rules
Show Source
-
Array of:
object WLHeaderRuleConfig
list of header-rules
Nested Schema : methods
Type:
array
Unique Items Required:
true
specifies list of methods to which the rule applies (applies to all methods when none are specified)
Show Source
Nested Schema : WLHeaderRuleConfig
Type:
object
list of header-rules
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
allow-header-param: array
allow-header-param
Unique Items Required:
true
the list of header parameters which are allowed, where * implies all are allowed -
allow-uri-header-name: array
allow-uri-header-name
Unique Items Required:
true
the list of URI header names which are allowed, where * implies all are allowed -
allow-uri-param: array
allow-uri-param
Unique Items Required:
true
the list of URI parameters which are allowed, where * implies all are allowed -
allow-uri-user-param: array
allow-uri-user-param
Unique Items Required:
true
the list of URI user parameters which are allowed, where * implies all are allowed -
header-name(required): string
Minimum Length:
1
name of the allowed header. To change the request line of a request, use the header name request-uri. To apply the rule to all unmatched headers, use the header name * -
unmatched-action: string
Allowed Values:
[ "reject", "delete" ]
Nested Schema : allow-header-param
Type:
array
Unique Items Required:
true
the list of header parameters which are allowed, where * implies all are allowed
Show Source
Nested Schema : allow-uri-header-name
Type:
array
Unique Items Required:
true
the list of URI header names which are allowed, where * implies all are allowed
Show Source
Nested Schema : allow-uri-param
Type:
array
Unique Items Required:
true
the list of URI parameters which are allowed, where * implies all are allowed
Show Source
Nested Schema : allow-uri-user-param
Type:
array
Unique Items Required:
true
the list of URI user parameters which are allowed, where * implies all are allowed
Show Source
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" ]