HMAC-auth credentials

Update a a HMAC-auth credential associated with a Consumer

Update a a HMAC-auth credential associated with a Consumer using ID.

patch/consumers/{ConsumerIdForNestedEntities}/hmac-auth/{HMACAuthId}

Path parameters

ConsumerIdForNestedEntitiesstring required

Consumer ID for nested entities

HMACAuthIdstring required

ID of the HMAC-auth credential to lookup

Request body

created_atinteger nullable

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 nullable

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