Vaults
Upsert a Vault
Changed onCreate or Update Vault using ID or prefix.
put/v2/control-planes/{controlPlaneId}/core-entities/vaults/{VaultId}
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/vaults/{VaultId}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"config": {
"prefix": "ENV_PREFIX"
},
"description": "environment variable based vault",
"id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
"name": "env",
"prefix": "env",
"tags": [
"foo",
"bar"
]
}Response
Successfully upserted Vault
Example response
{
"config": {
"prefix": "ENV_PREFIX"
},
"description": "environment variable based vault",
"id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
"name": "env",
"prefix": "env",
"tags": [
"foo",
"bar"
]
}Changes
- breaking
the response property
became nullable for the status - info
the request property
became nullable
- breaking
- breaking
the response property
became nullable for the status - breaking
the response property
became optional for the status - info
the request property
became nullable - info
the request property
became optional
- breaking