Updating TSIGKey information in the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources
TSIGKey/ PUT — Performs an update on the specified TSIG Key.

HTTP Action — PUT

URI — https://api.dynect.net/REST/TSIGKey/<name>/

Arguments:

  • string new_name — Update the name for the specified TSIG Key.
  • string algorithm — The encryption algorithm used in DNS transactions.
    Valid Values:
    hmac-md5
    hmac-sha1
    hmac-sha224
    hmac-sha256
    hmac-sha384
    hmac-sha512
  • string secret — The key to be used.
Response:

  • string name — Updated name for the specified TSIG Key.
  • string algorithm — The encryption algorithm used in DNS transactions.
  • string secret — The key used.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
UpdateTSIGKey — Performs an update on the specified TSIG Key.
Arguments:

  • string nameRequired. Name of the TSIG Key.
  • string new_name — The new name of the TSIG Key.
  • string algorithm — The encryption algorithm used in DNS transactions.
    Valid Values:
    hmac-md5
    hmac-sha1
    hmac-sha224
    hmac-sha256
    hmac-sha384
    hmac-sha512
  • string secret — The new key to use.
  • string tokenRequired. The session identifier.
Response:

  • hash data
    • string name — Name of the TSIG Key.
    • string algorithm — The encryption algorithm used in DNS transactions.
    • string secret — The actual key.

Example Request — Click for More Info