PUT {repositoryId}/PasswordCriteria/{id}
Updates a PasswordCriteria resource.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the PasswordCriteria resource. |
string |
Required |
| repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
Body Parameters
Data to update the resource.
PasswordCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| RepositoryId | string |
None. |
|
| ObjectType | Types |
None. |
|
| Description | string |
None. |
|
| Name | string |
None. |
|
| CaseSensitive | boolean |
None. |
|
| MinCharacters | integer |
None. |
|
| ComplexityRequirements | boolean |
None. |
|
| Pattern | string |
None. |
|
| MaxAge | integer |
None. |
|
| EnforceHistory | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"RepositoryId": "sample string 2",
"ObjectType": 118,
"Description": "sample string 3",
"Name": "sample string 4",
"CaseSensitive": true,
"MinCharacters": 6,
"ComplexityRequirements": true,
"Pattern": "sample string 8",
"MaxAge": 9,
"EnforceHistory": 10
}
application/xml, text/xml
Sample:
<PasswordCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema"> <CaseSensitive>true</CaseSensitive> <ComplexityRequirements>true</ComplexityRequirements> <Description>sample string 3</Description> <EnforceHistory>10</EnforceHistory> <Id>sample string 1</Id> <MaxAge>9</MaxAge> <MinCharacters>6</MinCharacters> <Name>sample string 4</Name> <ObjectType>PasswordCriteria</ObjectType> <Pattern>sample string 8</Pattern> <RepositoryId>sample string 2</RepositoryId> </PasswordCriteria>
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. |