SQLite

SET APIKEY

Syntax

SET APIKEY key [NAME key_name] [RESTRICTION restriction_type] [EXPIRATION expiration_date]

Privileges

USERADMIN

Description

The SET APIKEY command updates information about an existing APIKEY. You can update the APIKEY name, restriction, and expiration date using this command. There is no way to update the value of the APIKEY.

Return

OK string or error value (see SCSP protocol).

Example

> SET APIKEY roEylpydmHsKJSZKDc5acYTzu9vBwSQ9OeKTog02aow NAME test2
OK
Previous
REMOVE APIKEY