Update authentication method
This method updates the properties for a specific authentication method. Any user who is a member of the Vault admins group can run this web service.
URL
|
-
Make sure there are no spaces in the URL.
-
The following characters are not supported in URL values: + & %
-
If the URL includes a dot (.), add a forward slash (/) at the end of the URL. For example: api/Safes/MySafe/Members/user@cyber.com/
Resource information
HTTP method |
Content type |
---|---|
PUT |
application/json |
Header parameter
Parameter |
Description |
---|---|
Authorization |
The token that identifies the session, encoded in BASE 64. See Authentication. Type: String Mandatory: Yes Default value: None
|
URL parameter
Parameter |
Description |
---|---|
id |
The authentication module unique identifier. Type: string Mandatory: yes Default value: none Max length: 50 |
Body parameters
|
Parameter |
Description |
---|---|
displayName |
The display name of the authentication method. Type: string Mandatory: no Default value: the authentication method ID Max length: 50 |
enabled |
Whether or not the authentication method is enabled for use. Type: boolean Mandatory: no Default value: no |
mobileEnabled |
Whether or not the authentication method is available from the mobile application. Type: boolean Mandatory: no Default value: no |
logoffURL |
The logoff page URL of the third-party server. The user is redirected to this page in order to complete the logoff. Type: string; a valid URL format, absolute or relative Mandatory: no Default value: none |
secondFactorAuth |
Defines which second factor authentication to use when connecting to the Vault. An empty value will disable the second factor authentication. Valid values: cyberark, radius, ldap Type: string Mandatory: no Default value: none |
signInLabel |
Defines the sign-in text for this authentication method. Relevant only for CyberArk, RADIUS and LDAP authentication methods. Type: string Mandatory: no Default value: none Max length: 100 |
userNameFieldLabel |
Defines the label of the username field for this authentication method. Relevant only for CyberArk, RADIUS, and LDAP authentication methods. Type: string Mandatory: no Default value: none Max length: 50 |
passwordFieldLabel |
Defines the label of the password field for this authentication method. Relevant only for CyberArk, RADIUS, and LDAP authentication methods. Type: string Mandatory: no Default value: none Max length: 50 |
Result
|
Parameter |
Description |
---|---|
id |
The authentication module unique identifier. Type: string |
displayName |
The display name of the authentication method. Type: string |
enabled |
Whether or not the authentication method is enabled for use. Type: boolean |
mobileEnabled |
Whether or not the authentication method is available from the mobile application. Type: boolean |
logoffURL |
The logoff page URL of the third-party server. The user is redirected to this page in order to complete the logoff. Type: string |
secondFactorAuth |
Defines which second factor authentication to use when connecting to the Vault. An empty value will disable the second factor authentication. Valid values: cyberark, radius, ldap Type: string |
signInLabel |
Defines the sign-in text for this authentication method. Relevant only for CyberArk, RADIUS and LDAP authentication methods. Type: string |
userNameFieldLabel |
Defines the label of the username field for this authentication method. Relevant only for CyberArk, RADIUS, and LDAP authentication methods. Type: string |
passwordFieldLabel |
Defines the label of the password field for this authentication method. Relevant only for CyberArk, RADIUS, and LDAP authentication methods. Type: string |
Return codes
For a complete list of return codes, see Return Codes.