Create a new key for a user.
Name of the key.
User ID to create the token for another user (by default, the current user). Required CREATE_USER permission.
Expiration time, as Unix timestamp. If None, the key never expires.
{ "name": "key-1" }
Successful Response
Type of the object.
ID of the key.
Value of the key.
ID of the user that owns the key.
Time of expiration, as Unix timestamp. If None, the key never expires.
Time of creation, as Unix timestamp.