Add a sub-element: SD.realm-config.auth-attribute
post
https://cloud-native-SBC-IP/config/v1/sd/realm-config/{ElementKey}/auth-attribute
Add a sub-element: SD.realm-config.auth-attribute
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
list of auth-attributes
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
auth-realm(required): string
Minimum Length:
1
Pattern:^([A-Za-z0-9_][A-Za-z0-9._\-]{0,127})?$
authentication realm -
auth-user-lookup(required): string
Minimum Length:
1
Lookup used for selecting the AuthUser -
in-dialog-methods: array
in-dialog-methods
in dialog methods to add authentication headers to
-
password: string
password
authentication password
-
passwordAsString: string
-
username: string
authentication username
Nested Schema : in-dialog-methods
Type:
array
in dialog methods to add authentication headers to
Show Source
-
Array of:
string
Allowed Values:
[ "INVITE", "ACK", "BYE", "CANCEL", "REGISTER", "OPTIONS", "PRACK", "SUBSCRIBE", "NOTIFY", "PUBLISH", "INFO", "REFER", "MESSAGE", "UPDATE" ]
Response
Supported Media Types
- application/json
200 Response
return one sub element: SipAuthAttribute
Root Schema : schema
Type:
object
list of auth-attributes
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
auth-realm(required): string
Minimum Length:
1
Pattern:^([A-Za-z0-9_][A-Za-z0-9._\-]{0,127})?$
authentication realm -
auth-user-lookup(required): string
Minimum Length:
1
Lookup used for selecting the AuthUser -
in-dialog-methods: array
in-dialog-methods
in dialog methods to add authentication headers to
-
password: string
password
authentication password
-
passwordAsString: string
-
username: string
authentication username
Nested Schema : in-dialog-methods
Type:
array
in dialog methods to add authentication headers to
Show Source
-
Array of:
string
Allowed Values:
[ "INVITE", "ACK", "BYE", "CANCEL", "REGISTER", "OPTIONS", "PRACK", "SUBSCRIBE", "NOTIFY", "PUBLISH", "INFO", "REFER", "MESSAGE", "UPDATE" ]
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" ]