Delete deployment
DELETE/deployments/:deployment
Delete deployment. Currently it's supported to remove a deployment only using the force flag
Request
Path Parameters
deployment stringrequired
Deployment identifier
Query Parameters
force boolean
If true, the deployment will be forcefully deleted. This might break in-flight invocations, use with caution.
Responses
- 202
- 400
- 403
- 404
- 409
- 500
- 501
- 503
Accepted
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
Not implemented. Only using the force flag is supported at the moment.
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- 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.Delete, "https://main.documentation-beg.pages.dev/deployments/:deployment");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());