Basic-auth credentials

Update a a Basic-auth credential associated with a Consumer

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

patch/consumers/{ConsumerIdForNestedEntities}/basic-auth/{BasicAuthId}

Path parameters

ConsumerIdForNestedEntitiesstring required

Consumer ID for nested entities

BasicAuthIdstring required

ID of the Basic-auth credential to lookup

Request body

created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable
passwordstring required
tagsstring[]
usernamestring required

Example request

{
  "consumer": {
    "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
  },
  "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
  "password": "hashedsoopersecretvalue",
  "username": "darius"
}

Response

Successfully updated Basic-auth credential

created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable
passwordstring required
tagsstring[]
usernamestring required

Example response

{
  "consumer": {
    "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
  },
  "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
  "password": "hashedsoopersecretvalue",
  "username": "darius"
}

Changes