Skip to Content
Services

Get current status of a service

POST
/services/{service_id}/get-status

Path Parameters

service_id*integer

The ID of the service.

Range1 <= value

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Request Body

A JSON object containing the resource data

application/json
  1. body
servers?array<integer>

List of valid resource IDs

Response Body

No Content

Example Request
curl -X POST 'https://api.devopness.com/services/123/get-status' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty