GoodMem
ReferenceClient SDKsJavaScript SDKRequests

CreateApiKeyRequest

CreateApiKeyRequest documentation for JavaScript SDK

Properties

NameTypeDescriptionNotes
labels{String: String}Key-value pairs of metadata associated with the API key. Used for organization and filtering.[optional]
expiresAtNumberExpiration timestamp in milliseconds since epoch. If not provided, the key does not expire.[optional]
apiKeyIdStringOptional client-provided UUID for idempotent creation. If not provided, server generates a new UUID. Returns ALREADY_EXISTS if ID is already in use.[optional]

On this page