Update Settings - Authentication
This request changes authentication settings attributes.
Resource
PATCH /server/authentication
Parameters
None
Payload
Fields
Name | Patch Operations |
---|---|
code |
|
securityDomain |
|
domainServer1 |
|
domainServer2 |
|
synchronizeDomainTime |
|
openIdConnections |
|
tokenRetentionDays |
|
minimumPasswordLength |
|
maxNumberOfFalseLogins |
|
OpenID connection |
|
openIdConnection.openIdId |
|
openIdConnection.openIdProvider |
|
openIdConnection.liveSyncOn |
|
openIdConnection.openIdGroupId |
|
Response
None
Context
Authorization |
Administrator |
Errors
Example
PATCH https://xelion.nl/api/v1/master/server/authentication
replace some authorization settings direct members
{
"operations": [{
"op": "replace",
"path": "/securityDomain",
"value": "mySecurityDomain"
}, {
"op": "replace",
"path": "/domainServer1",
"value": "myDomainServer1"
}, {
"op": "replace",
"path": "/domainServer2",
"value": "myDomainServer2"
}, {
"op": "replace",
"path": "/synchronizeDomainTime",
"value": true
}
]
}
add a new OpenId connection to the authentication settings, first add a path with a virtual id '1' and insert the oid of the OpenId connection as value
{
"operations": [{
"op": "add",
"path": "/openIdConnections/1",
"value": "1756113"
}
]
}
remove an OpenId connection from the authentication settings, <OID> is the oid of the OpenIdConnection object
{
"operations": [{
"op": "remove",
"path": "/openIdConnections/321443"
}
]
}
patch an existing OpenId connection from the authentication settings, <OID> is the oid of the OpenIdConnection object
{
"operations":[
{
"op":"replace",
"path":"/openIdConnections/3669834/openIdId",
"value":"myOpenIdId"
},
{
"op":"replace",
"path":"/openIdConnections/3669834/openIdProvider",
"value":"MICROSOFT"
},
{
"op":"replace",
"path":"/openIdConnections/3669834/openIdGroupId",
"value":"myopenIdGroupId"
},
{
"op":"replace",
"path":"/openIdConnections/3669834/liveSyncOn",
"value":true
}
]
}