Block executable by UUID
Relative path: /v1/executables/{executableUuid}:block
Blocked executables will not be executed.
Idempotent
Request body
Display Schema instead of an Example or vice-versa
Type |
Required |
Example |
Schema |
---|---|---|---|
application/json |
No |
{} |
{ "$ref": "ExecutablesBlockExecutableBody", "type": "object" } |
Parameters in path
Name |
Type |
Required |
Description |
---|---|---|---|
executableUuid |
string |
Yes |
Reference to the executable to be blocked. type: Executable |
Responses
Display Schema instead of an Example or vice-versa
Code |
Description |
Example |
Schema |
---|---|---|---|
200 |
A successful response. |
{} |
{
"$ref": "v1BlockExecutableResponse",
"title": "empty",
"type": "object"
} |
default |
An unexpected error response. |
{ "code": 0, "message": "string", "details": [ { "@type": "string" } ] } |
{ "$ref": "rpcStatus", "code": { "type": "integer", "format": "int32" }, "message": { "type": "string" }, "details": [ { "$ref": "protobufAny", "@type": { "type": "string" } } ] } |
202 |
Response took too long and the request was cached. |
null |
[] |