Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.3 KB

File metadata and controls

30 lines (24 loc) · 1.3 KB

Invoicetronic_Sdk::SubKeyUpdate

Properties

Name Type Description Notes
description String Human-readable label, e.g. the name of the tenant the key is for.
active Boolean Whether the key can authenticate. Defaults to true. [optional]
permissions Permissions [optional]
company_ids Array<Integer> Companies the key can access. When omitted or empty, the key can access all the companies of the account, including the ones created later. [optional]
cors_origins Array<String> Browser origins allowed to call the API with this key (CORS), e.g. `https://app.example.com&#x60; or `*.example.com`. A key used from a browser is public: keep its permissions and companies minimal. [optional]
id Integer Id of the restricted key to update. [optional]
version Integer Row version read with the key, for optimistic concurrency: a stale version fails with 422. [optional]

Example

require 'invoicetronic_sdk'

instance = Invoicetronic_Sdk::SubKeyUpdate.new(
  description: Studio Rossi Srl,
  active: null,
  permissions: null,
  company_ids: null,
  cors_origins: null,
  id: null,
  version: null
)