PUT {repositoryId}/AccountCriteria/{id}
Updates an AccountCriteria resource.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the AccountCriteria resource. |
string |
Required |
| repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
Body Parameters
Data to update the resource.
AccountCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| RepositoryId | string |
None. |
|
| ObjectType | Types |
None. |
|
| Name | string |
None. |
|
| DisableThreshold | integer |
None. |
|
| DisableDuration | integer |
None. |
|
| ResetTimeout | integer |
None. |
|
| MaxActiveLogins | integer |
None. |
|
| MaxInactivityDays | integer |
None. |
|
| Description | string |
None. |
|
| DisableInternalAuthentication | boolean |
None. |
|
| Enable2FA | boolean |
None. |
|
| OTPbySMS | boolean |
None. |
|
| OTPbyEmail | boolean |
None. |
|
| OTPbyApp | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"RepositoryId": "sample string 2",
"ObjectType": 117,
"Name": "sample string 3",
"DisableThreshold": 4,
"DisableDuration": 5,
"ResetTimeout": 6,
"MaxActiveLogins": 7,
"MaxInactivityDays": 8,
"Description": "sample string 9",
"DisableInternalAuthentication": true,
"Enable2FA": true,
"OTPbySMS": true,
"OTPbyEmail": true,
"OTPbyApp": true
}
application/xml, text/xml
Sample:
<AccountCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema"> <Description>sample string 9</Description> <DisableDuration>5</DisableDuration> <DisableInternalAuthentication>true</DisableInternalAuthentication> <DisableThreshold>4</DisableThreshold> <Enable2FA>true</Enable2FA> <Id>sample string 1</Id> <MaxActiveLogins>7</MaxActiveLogins> <MaxInactivityDays>8</MaxInactivityDays> <Name>sample string 3</Name> <OTPbyApp>true</OTPbyApp> <OTPbyEmail>true</OTPbyEmail> <OTPbySMS>true</OTPbySMS> <ObjectType>AccountCriteria</ObjectType> <RepositoryId>sample string 2</RepositoryId> <ResetTimeout>6</ResetTimeout> </AccountCriteria>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |