action autodealerdata_make_sub_user_key_make_sub_user_key_post { label: "Generate a Sub User Key that can be used by your users to make API calls in frontend applications." description: "This endpoint is only fully available to users with a paid plan. Users on Basic or Trial plans may only create keys valid on the \"localhost\" domain.\nThis endpoint creates an API key that can be embedded in frontend applications such as web pages that allow your users to directly make API calls. \nThe \"endpoints\" value is an array of strings that name the allowed endpoints that may be called using the Sub User Key. Passing a \"*\" value in the array will allow\nall endpoints that require a JWT (JSON Web Token) to be called by the Sub User Key. The keys are valid for as long as your account is valid or you revoke the Sub User Key.\nAll API calls made by the Sub User Keys are billed to your account. Additionally you should not call this endpoint or the /revokeSubUserKey endpoint at a combined rate \nhigher than once per second. " provider: autodealerdata method: POST path: "/makeSubUserKey" encoding: json input: { type: "object" properties: { apiID: { type: "string" } apiKey: { type: "string" } endPoints: { type: "array" items: { type: "string" } } siteName: { type: "string" } } required: ["apiID", "apiKey"] additionalProperties: false } output: { type: "object" required: ["domain", "token", "uuid"] properties: { createdOn: { type: "integer" } domain: { type: "string" } endPoints: { type: "array" items: { type: "string" } } expires: { type: "integer" } token: { type: "string" } uuid: { type: "string" } } } }