Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.34 KB

File metadata and controls

17 lines (13 loc) · 1.34 KB

Invoicetronic.Sdk.Model.SubKeyUpdate

A restricted key to update. All the editable fields are replaced: an omitted permissions, company_ids or cors_origins means none.

Properties

Name Type Description Notes
Description string Human-readable label, e.g. the name of the tenant the key is for.
Active bool Whether the key can authenticate. Defaults to true. [optional]
Permissions Permissions [optional]
CompanyIds List<int> 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]
CorsOrigins List<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 int Id of the restricted key to update. [optional]
VarVersion int Row version read with the key, for optimistic concurrency: a stale version fails with 422. [optional]

[Back to Model list] [Back to API list] [Back to README]