Request URL

POST  https://api.dotcom-monitor.com/config_api_v1/securevault/{crypt_id}

Path Parameters

Field Type Required Description
crypt_id

string

true

The unique id of the crypt you want to edit.

Header Parameters

Content-Type: application/json
POST Content example
{ 
"Id": 100600,

"Name": "My_Crypt_New", 

"Variables": [ 

    { 

            "Id": 1234, 

            "Name": "Username", 

            "Value": "User_NewValue", 

            "Realm": "https://www.dotcom-monitor.com", 

            "MaskedUI": true, 

            "UseForMaskedValues": true 

        } 

] 

}

Required Body Parameters

To specify crypt object fields to edit, we recommend you get the crypt info first and use the response as a sample for a JSON object. Regardless of the fields you want to edit, the following fields are required in the request body:

Field

Type

Description

Id

int32

The id of a crypt/variable

Name

string

The name of a crypt/variable.

Value

string

The value of a variable.

Realm

string

The field contains the name of the resource where the variable can be used.

MaskedUI

boolean

Possible values:

  • true – the value is masked on the Dotcom-Monitor and LoadView UI.
  • false –  the variable value is provided in a clear form. Only users with sufficient permissions can see the value.

UsedForMaskedValues

boolean

Possible values:

  • true – the variable can be used only in masked fields. For example, password variables will be applied only to the masked fields to secure sensitive data from being recorded on the video report.
  • false – the variable can be used in masked and unmusked fields.

Success Response

Example Response
{
    "Success": true,
    "Result": "Crypt has been updated"
}