|
1
|
{"slug":"/references/api_key/interfaces/api_key.CreateApiKeyDTO","title":"CreateApiKeyDTO","frontmatter":{"displayed_sidebar":"apiKeyReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The API key to be created."},{"kind":"typeList","sectionTitle":"CreateApiKeyDTO","types":[{"name":"title","type":"`string`","description":"The title of the API key.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ApiKeyType](/references/api_key/types/api_key.ApiKeyType)","description":"The type of the API key.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the API key.\nIf the API key type is `secret`, the user can use the created API key's token to authenticate\nas explained in the [API Reference](https://docs.medusajs.com/api/admin#2-api-token).","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} |