outposts_service_connections_docker_update
PUT/api/v3//outposts/service_connections/docker/:uuid/
DockerServiceConnection Viewset
Request
Path Parameters
A UUID string identifying this Docker Service-Connection.
- application/json
Body
required
Possible values: non-empty
If enabled, use the local connection. Required Docker socket/Kubernetes Integration
Possible values: non-empty
Can be in the format of 'unix://
CA which the endpoint's Certificate is verified against. Can be left empty for no validation.
Certificate/Key used for authentication. Can be left empty for no authentication.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
If enabled, use the local connection. Required Docker socket/Kubernetes Integration
Return object's verbose_name
Return object's plural verbose_name
Return internal model name
Can be in the format of 'unix://
CA which the endpoint's Certificate is verified against. Can be left empty for no validation.
Certificate/Key used for authentication. Can be left empty for no authentication.
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"local": true,
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"url": "string",
"tls_verification": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tls_authentication": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PUT '/api/v3/outposts/service_connections/docker/:uuid/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"local": true,
"url": "string",
"tls_verification": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tls_authentication": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'