Storm docs logo
Search the docs.../
Explore Storm Products

Cluster Application Command

Executes a command on a cluster application.

Request

PropertyValue
MethodPOST
URL/api/cluster/applications/{appId}/command
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X POST "{BASE_URL}/api/cluster/applications/{appId}/command" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Path Parameters

ParameterTypeRequiredDescription
appIdstringYesApplication ID
Request
Code iconbash
curl -X POST "{BASE_URL}/api/cluster/applications/{appId}/command" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"

Request Body

ParameterTypeRequiredDescription
data.attributes.commandstringYesCommand to execute (see available commands below)

Available Commands

CommandDescription
forceRestartForces the application to restart
kickKicks (disconnects) the application from the cluster
blockBlocks the application from accepting new connections
unblockUnblocks the application, allowing new connections again

Example Request (Force Restart)

Example Request (Kick)

Example Request (Block)

Example Request (Unblock)

Code iconjson
{
  "data": {
    "attributes": {
      "command": "forceRestart"
    }
  }
}
Code iconjson
{
  "data": {
    "attributes": {
      "command": "kick"
    }
  }
}
Code iconjson
{
  "data": {
    "attributes": {
      "command": "block"
    }
  }
}
Code iconjson
{
  "data": {
    "attributes": {
      "command": "unblock"
    }
  }
}

Response Body

CodeDescription
200Success - Command executed
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing token
404Not Found - Application does not exist
429Too Many Requests - Rate limit exceeded
500Internal Server Error
ParameterTypeDescription
messagestringResponse status message

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "meta": {
    "executionTime": 27,
    "generatedAt": 1767789946006
  },
  "message": "Application has been force restarted"
}

Error Responses

Application Not Found (404)

Other Errors (4xx/5xx)

ParameterTypeDescription
messagestringHuman-readable error message
Code iconjson
{
  "message": "Application not found"
}
Code iconjson
{
  "message": "Error message"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.