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.
PasswordCriteriaName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
RepositoryId | string |
None. |
|
ObjectType | Types |
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, "Name": "sample string 3", "CaseSensitive": true, "MinCharacters": 5, "ComplexityRequirements": true, "Pattern": "sample string 7", "MaxAge": 8, "EnforceHistory": 9 }
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> <EnforceHistory>9</EnforceHistory> <Id>sample string 1</Id> <MaxAge>8</MaxAge> <MinCharacters>5</MinCharacters> <Name>sample string 3</Name> <ObjectType>PasswordCriteria</ObjectType> <Pattern>sample string 7</Pattern> <RepositoryId>sample string 2</RepositoryId> </PasswordCriteria>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | 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. |