User Tools

Site Tools


mantis:cloudapp:issue:235

Create a Password

The create action creates a new password with the given attributes.

Methods: POST
URL: /api/1.0/password/create
State: 201

Arguments

  • password: String, Required
  • label: String, Required
  • username: String
  • url: String
  • notes: String
  • customFields: String
  • hash: String
  • cseType: String
  • cseKey: String
  • folder: String
  • edited: Integer
  • hidden: Boolean
  • favorite: Boolean
  • tags: array

Return

  • id: String
  • revision: String

Notes

  • If the password is not hidden and should be created in a hidden folder, it will be created in the base folder instead
  • If the folder uuid is invalid or does not exist, the base folder uuid will be used instead
  • If the edited argument is “0” or missing, the current time will be used
  • If the edited time is in the future, the current time will be used
  • If the cseType is set to “none”, the hash will be calculated on the server
  • If the tags argument contains invalid tag ids, they will be ignored
  • You can assign hidden tags to a not hidden password, but they will not be visible.

Therefore another client might remove the tag by accident

mantis/cloudapp/issue/235.txt · Last modified: by domjos