Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.15 KB

File metadata and controls

30 lines (24 loc) · 1.15 KB

ApiKey

Platform API key

Example Usage

import { ApiKey } from "pushpress/models/components/apikey.js";

let value: ApiKey = {
  keyUuid: "key_asdfghjklqwertyuiop",
  apiKey: "sk_zyxvutsrqponmlkjihgfedcba",
  clientUuid: "client_asdfghjklqwertyuiop",
  name: "My API Key",
  description: "Additional description to add context to the key",
  createdAt: 1577836800000,
};

Fields

Field Type Required Description
keyUuid string ✔️ N/A
apiKey string ✔️ N/A
clientUuid string ✔️ N/A
name string ✔️ N/A
description string ✔️ N/A
createdAt number ✔️ N/A
expiresAt number N/A