POST /oapi/v1/deploymentconfigrollbacks HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "DeploymentConfigRollback", "apiVersion": "v1", ... }
Expand or mouse-over a field for more information about it.
apiVersion:kind:name:spec:
from:
apiVersion:fieldPath:kind:name:namespace:resourceVersion:uid:includeReplicationMeta:includeStrategy:includeTemplate:includeTriggers:revision:updatedAnnotations:
[string]:
Create a DeploymentConfigRollback
POST /oapi/v1/deploymentconfigrollbacks HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "DeploymentConfigRollback", "apiVersion": "v1", ... }
Create a DeploymentConfigRollback
POST /oapi/v1/namespaces/$NAMESPACE/deploymentconfigrollbacks HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "DeploymentConfigRollback", "apiVersion": "v1", ... }
$ curl -k \ -X POST \ -d @- \ -H "Authorization: Bearer $TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ https://$ENDPOINT/oapi/v1/namespaces/$NAMESPACE/deploymentconfigrollbacks <<'EOF' { "kind": "DeploymentConfigRollback", "apiVersion": "v1", ... } EOF