Adding Passwords

You can add a new encryption password.

Request

POST https://<hostname>:4443/v6/EncryptionKeys

Request Headers

The request header must contain an authorization token of the current session.

Request Body

The request body must contain the following properties:

Property

Type

Description

password

string

Specifies the encryption password.

description

string

Specifies the hint of the encryption password.

Request Example

Request:

POST https://abc.tech.local:4443/v6/EncryptionKeys/

 

Request Header:

Authorization: Bearer <Access-Token>

Request Body:

{

  "password": "123qweASD",

  "description": "Developer 1"

}

Response

The server returns the following response to the client.

Response Codes

A successfully completed operation returns a response code 200 OK.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the response body message: application/json; charset=utf-8

Response Body

The response body contains the following properties:

Property

Type

Description

id

string

Specifies the encryption password ID.

description

string

Specifies the hint of the encryption password.

_links

Dictionary of string [key] and Object [value]

Links to related resources (navigation property).

Response Example

Response:

200 OK

 

Response Body:

{

  "id": "7827a047-33ac-4d20-a8d8-1cd283755044",

  "description": "Developer 1",

  "_links": {"self": {"href": "/v6/encryptionkeys/7827a047-33ac-4d20-a8d8-1cd283755044"}}

}