Platform API key
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,
};
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 |