Get a Workspace

Get a Workspace using ID or name.

get

Path Parameters

controlPlaneIdstring(uuid)required

ID of a control plane

workspaceIdOrNamestringrequired

ID or name of the workspace to retreive

Example:2747d1e5-8246-4f65-a939-b392f1ee17f8

Response

application/json

A response to retrieving a single workspace.

Workspace

Workspaces provide a way to segment Kong entities.

idstring

The unique UUID for this resource.

namestringrequired
commentstring
descriptionstring
managed_byobject
* Additional properties are allowed.
created_atstring(date-time)read-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)read-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

get/control-planes/{controlPlaneId}/core-entities/workspaces/{workspaceIdOrName}
 
application/json

Delete a Workspace

Delete an individual workspace.

delete

Path Parameters

controlPlaneIdstring(uuid)required

ID of a control plane

workspaceIdOrNamestringrequired

ID or name of the workspace to retreive

Example:2747d1e5-8246-4f65-a939-b392f1ee17f8

Response

No Content

delete/control-planes/{controlPlaneId}/core-entities/workspaces/{workspaceIdOrName}
 

Upsert a Workspace

Create or Update Workspace using ID or name.

put

Path Parameters

controlPlaneIdstring(uuid)required

ID of a control plane

workspaceIdOrNamestringrequired

ID or name of the workspace to retreive

Example:2747d1e5-8246-4f65-a939-b392f1ee17f8

Body

application/json

Description of the Workspace

Workspace

Workspaces provide a way to segment Kong entities.

idstring

The unique UUID for this resource.

namestringrequired
commentstring
descriptionstring
managed_byobject
* Additional properties are allowed.

Response

application/json

Successfully upserted Workspace

Workspace

Workspaces provide a way to segment Kong entities.

idstring

The unique UUID for this resource.

namestringrequired
commentstring
descriptionstring
managed_byobject
* Additional properties are allowed.
created_atstring(date-time)read-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)read-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

put/control-planes/{controlPlaneId}/core-entities/workspaces/{workspaceIdOrName}

Body

{ "name": "name" }
 
application/json

GroupSettings

object
* Additional properties are NOT allowed.
workspaceableboolean

Whether the control plane group can be used to create workspaces.

Example:true

default_workspace_member_idstring

The default workspace member ID for the control plane group. This is used to determine the default workspace member for workspaces created in this control plane group.

Example:7f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Example

CreateControlPlaneRequest

object

The request schema for the create control plane request.

* Additional properties are NOT allowed.
namestringrequired

The name of the control plane.

Example:Test Control Plane

descriptionstring

The description of the control plane in Konnect.

Example:A test control plane for exploration.

cluster_typestring

The ClusterType value of the cluster associated with the Control Plane.

Allowed values:CLUSTER_TYPE_CONTROL_PLANECLUSTER_TYPE_K8S_INGRESS_CONTROLLERCLUSTER_TYPE_CONTROL_PLANE_GROUPCLUSTER_TYPE_SERVERLESSCLUSTER_TYPE_HTTP_GATEWAYCLUSTER_TYPE_EVENT_GATEWAYCLUSTER_TYPE_KAFKA_NATIVE_EVENT_PROXYCLUSTER_TYPE_CLOUD_API_GATEWAYCLUSTER_TYPE_SERVERLESS_V1

Example:CLUSTER_TYPE_CONTROL_PLANE

auth_typestring

The auth type value of the cluster associated with the Runtime Group.

Allowed values:pinned_client_certspki_client_certs

Example:pinned_client_certs

cloud_gatewayboolean

Whether this control-plane can be used for cloud-gateways.

proxy_urlsarray[object](set)

Proxy URL associated with reaching the data-planes connected to a control-plane.

Example:{"host":"example.com","port":443,"protocol":"https"}

* Additional properties are NOT allowed.
Show Child Parameters
labelsobject

Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters, and cannot start with ‘kong’, ‘konnect’, ‘mesh’, ‘kic’, or ‘_’.

Example:{"env":"test"}

Example