HMAC-auth credentials

Update a HMAC-auth credential

Update a HMAC-auth credential

patch/hmac-auths/{HMACAuthId}

Request body

created_atinteger

Unix epoch when the resource was created.

idstring nullable
secretstring nullable
tagsstring[]
usernamestring required

Example request

{
  "consumer": {
    "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
  },
  "id": "75695322-e8a0-4109-aed4-5416b0308d85",
  "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
  "username": "xerxes"
}

Response

Successfully updated HMAC-auth credential

created_atinteger

Unix epoch when the resource was created.

idstring nullable
secretstring nullable
tagsstring[]
usernamestring required

Example response

{
  "consumer": {
    "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
  },
  "id": "75695322-e8a0-4109-aed4-5416b0308d85",
  "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
  "username": "xerxes"
}

Changes