Scanners

Create Scanner

Creates a new scanner with the provided data under the current user's account.

Parameters:

  • data (CreatePassScannerPayload): The data required to create a scanner.
  • user (User): The current authenticated user.

Returns:

  • dict: The newly created scanner data.
post/v2/scanners

Request

Headers

authorizationstring nullable

Request body

namestring required
type'Browser' | 'PassVerifier' | 'CodeReadr' | 'None' required
fullAccessboolean nullable
pinstring nullable
allowedTemplatesPydanticObjectId[] nullable

Example request

{
  "allowedTemplates": [
    "5eb7cf5a86d9755df3a6c593"
  ]
}

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 7 revisions of this API.