Create

Add a MetadataKey for the current Account

This action requires a request with an active account.

Tokens

This action requires the following tokens:

  • metadatakey-write

Arguments

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

Argument Type Default Description
name String   The name of the key to create
description String   The description of the key to create

Output

This action produces the following output on success:

An object containing the following fields:

Name Type Description
name String The key identifier
description String Description of the key

Errors

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

STATUS_METADATA_KEY_ALREADY_EXISTS (471)
If the MetadataKey specified by “name” already exists in this Account