outposts_service_connections_kubernetes_partial_update
PATCH/api/v3//outposts/service_connections/kubernetes/:uuid/
KubernetesServiceConnection Viewset
Request
Path Parameters
uuid uuidrequired
A UUID string identifying this Kubernetes Service-Connection.
- application/json
Body
name string
Possible values: non-empty
local boolean
If enabled, use the local connection. Required Docker socket/Kubernetes Integration
kubeconfig
Paste your kubeconfig here. authentik will automatically use the currently selected context.
verify_ssl boolean
Verify SSL Certificates of the Kubernetes API endpoint
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
pk uuidrequired
name stringrequired
local boolean
If enabled, use the local connection. Required Docker socket/Kubernetes Integration
component stringrequired
verbose_name stringrequired
Return object's verbose_name
verbose_name_plural stringrequired
Return object's plural verbose_name
meta_model_name stringrequired
Return internal model name
kubeconfig
Paste your kubeconfig here. authentik will automatically use the currently selected context.
verify_ssl boolean
Verify SSL Certificates of the Kubernetes API endpoint
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"local": true,
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"verify_ssl": true
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Patch, "/api/v3/outposts/service_connections/kubernetes/:uuid/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var content = new StringContent("{\n \"name\": \"string\",\n \"local\": true,\n \"verify_ssl\": true\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());