Skip to main content

api_keys

Creates, updates, deletes, gets or lists an api_keys resource.

Overview

Nameapi_keys
TypeResource
Idvercel.authentication.api_keys

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
createinsertpurpose

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

INSERT examples

No description available.

INSERT INTO vercel.authentication.api_keys (
purpose,
project_id,
name,
expires_at,
ai_gateway_quota,
metadata
)
SELECT
'{{ purpose }}' /* required */,
'{{ project_id }}',
'{{ name }}',
{{ expires_at }},
'{{ ai_gateway_quota }}',
'{{ metadata }}'
RETURNING
api_key,
api_key_string
;