_create

Creates an API Key for the requested user account.

Parameters

user_id

The ID of the user this API key is for.

description

A note for yourself describing the purpose of the key.

Example

FM_api('ApiKey_create',	['user_id' => '32', 'description' => 'This is a test key.']);

Result

On Success

{'ok':1,'md5':'2ffebac1124270b02ef3ecb71583455f','id':15}

The result will contain the created key's MD5 and ID.

Last updated