Sitemap

Attachments

View a list of Pleasant Password Server Features

PUT        <url>/api/v5/rest/attachments/{attachmentId:guid}

Example Request

http://localhost:10000/api/v5/rest/Attachments/ee20446c-3f5e-419b-9d8c-a93600fe401f
{
    "CredentialObjectId": "13caaa57-2186-467e-b107-bc29f8c3533e",
    "AttachmentId": "ee20446c-3f5e-419b-9d8c-a93600fe401f",
    "FileName": "updates3.txt",
    "FileData": "UGFzc01h"
}

Example Response

HTTP 204

DELETE   <url>/api/v5/rest/attachments/{attachmentId:guid}

Example Request

http://localhost:10000/api/v5/rest/Attachments/ac4c94d8-bec2-4afb-8bfd-a93600fb6e49

Example Response

HTTP 204

**The routes containing "entries" or "folders" can be substituted with "credential" and "credentialgroup" respectively. this is to allow reverse compability of the API for existing clients.