api_key.update¶
Update API Key id.
Specify reset: true to reset this API Key.
No Additional Items
Tuple Validation
Parameter 1: id
id
Type: integerID of the API key to update.
Parameter 2: api_key_update
api_key_update
Type: objectUpdated API key configuration data.
No Additional PropertiesName
Type: stringHuman-readable name for the API key.
Must be at least 1 characters long
Must be at most 200 characters long
Expires At
Expiration timestamp for the API key or null for no expiration.
Reset
Type: booleanWhether to regenerate a new API key value for this entry.
Result
The updated API key (includes key value if reset was performed).
ApiKeyEntryWithKey
Type: objectNo Additional Properties
Id
Type: integerUnique identifier for the API key.
Name
Type: string Default: "nobody"Human-readable name for the API key.
Must be at least 1 characters long
Must be at most 200 characters long
Username
Username associated with the API key or null for system keys.
Must be at least 1 characters long
User Identifier
User ID (numeric) or SID (string) that owns this API key.
Iterations
Type: integerNumber of iterations of PBKDF2-SHA512.
Salt
Type: stringBase64 encoded salt for API key.
Stored Key
Type: stringSCRAM StoredKey for API key.
Server Key
Type: stringSCRAM ServerKey for API key.
Created At
Type: stringFormat: date-timeTimestamp when the API key was created.
Expires At
Default: nullExpiration timestamp for the API key or null for no expiration.
Local
Type: booleanWhether this API key is for local system use only.
Revoked
Type: booleanWhether the API key has been revoked and is no longer valid.
Revoked Reason
Reason for API key revocation or null if not revoked.
Key
Type: stringThe actual API key value (only returned on creation).
Client Key
Type: stringPre-computed SCRAM ClientKey.
ApiKeyEntry
Type: objectNo Additional Properties
Id
Type: integerUnique identifier for the API key.
Name
Type: string Default: "nobody"Human-readable name for the API key.
Must be at least 1 characters long
Must be at most 200 characters long
Username
Username associated with the API key or null for system keys.
Must be at least 1 characters long
User Identifier
User ID (numeric) or SID (string) that owns this API key.
Iterations
Type: integerNumber of iterations of PBKDF2-SHA512.
Salt
Type: stringBase64 encoded salt for API key.
Stored Key
Type: stringSCRAM StoredKey for API key.
Server Key
Type: stringSCRAM ServerKey for API key.
Created At
Type: stringFormat: date-timeTimestamp when the API key was created.
Expires At
Default: nullExpiration timestamp for the API key or null for no expiration.
Local
Type: booleanWhether this API key is for local system use only.
Revoked
Type: booleanWhether the API key has been revoked and is no longer valid.
Revoked Reason
Reason for API key revocation or null if not revoked.
Required roles: API_KEY_WRITE | READONLY_ADMIN