Newpresharedkey

Generates a new pre-shared key for an application

Tokens

This action requires the following tokens:

  • application-write

Arguments

Required arguments are marked in bold, and optional arguments are marked in italics.

Argument Type Default Description
application Hash   The ID of the application to generate a new pre-shared key for

Output

This action produces the following output on success:

An object containing the following fields:

Name Type Description
id Hash Application ID
name String Application name
presharedkey String Application pre-shared key

Errors

This action can return one of the default status codes, or one of the following status codes on error:

STATUS_APPLICATION_NOT_FOUND (260)
If the application specified by “application” can not be found