1 {"slug":"/references/api_key/interfaces/api_key.UpsertApiKeyDTO","title":"UpsertApiKeyDTO","frontmatter":{"displayed_sidebar":"apiKeyReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The attributes in the API key to be created or updated."},{"kind":"typeList","sectionTitle":"UpsertApiKeyDTO","types":[{"name":"id","type":"`string`","description":"The ID of the API key.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the API key.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ApiKeyType](/references/api_key/types/api_key.ApiKeyType)","description":"The type of the API key. Required only when creating an API key.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the API key. It's only\nusable and required when creating an API key.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}