tsig

Updates a specific TSIG key.

This endpoint updates a specific TSIG key, helping users modify its properties or configuration.</br></br>Key features include:</br></br>- Clear success messaging: Returns a 200 success code with a confirmation message indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns a 400 error code with a clear description when requests fail.</br>- Reliable TSIG key updates: Facilitates the modification of a specific TSIG key, ensuring accurate and up-to-date information across the system.</br>- Targeted data updates: Leverages the tsigId parameter in the URL path to update the specified TSIG key, ensuring accurate and focused modifications.

put/tsig/{tsigId}

Request

Path parameters

tsigIdinteger required

Filters data by the TSIG key’s unique identifier.

Request body

namestring
tsigAlgorithmstring
tsigSecretstring

Example request

{
  "name": "MyIPSet",
  "tsigAlgorithm": "hmac-sha256",
  "tsigSecret": "bMXYjKzZq6eW0bJY9S4TbXnDylK2gpoDQ7kY5XyW3OY="
}

Response

TSIG key updated successfully.

idinteger
namestring
tsigAlgorithmstring
tsigSecretstring
createdTsstring
modifiedTsstring

Example response

{
  "id": 1,
  "name": "MyIPSet",
  "tsigAlgorithm": "hmac-sha256",
  "tsigSecret": "bMXYjKzZq6eW0bJY9S4TbXnDylK2gpoDQ7kY5XyW3OY=",
  "createdTs": "2024-02-01 14:02:58.325993",
  "modifiedTs": "2024-02-01 14:02:58.325993",
  "domains": [
    {
      "id": 1,
      "name": "example.com"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.