warehouse

Create Benchling Warehouse credentials

Allows for programmatically generating credentials to connect to the Benchling warehouse. You must have a warehouse configured to access this endpoint. The credentials will authenticate as the same user calling the API. Note that expiresIn is required - only temporary credentials are currently allowed.

post/warehouse-credentials

Request

  • Base URL
    https://{tenant_name}.benchling.com/api/v2
  • Auth
    HTTP bearer

Request body

expiresIninteger required

Duration, in seconds, that credentials should be active for. Must be greater than 0 and less than 3600.

Response

OK

expiresAtstring date-time

The time after which new connections using the username/password will not be permitted. Upon expiration, currently open connections are not terminated.

passwordstring

The password to connect to the warehouse.

usernamestring

The username to connect to the warehouse.

Changes

No recorded changes to this operation across all 1 revision of this API.