v50

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-07-068428533.0 MB
Basic-auth credentials

Create a new Basic-auth credential associated with a Consumer

Create a new Basic-auth credential associated with a Consumer

post/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/basic-auth

Path parameters

ConsumerIdForNestedEntitiesstring required

Consumer ID for nested entities

Request body

created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable

A string representing a UUID (universally unique identifier).

passwordstring required
tagsstring[] nullable

A set of strings representing tags.

usernamestring required

Example request

{
  "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
  "password": "hashedsoopersecretvalue",
  "username": "darius"
}

Response

Successfully created Basic-auth credential

created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable

A string representing a UUID (universally unique identifier).

passwordstring required
tagsstring[] nullable

A set of strings representing tags.

usernamestring required

Example response

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