Service

POST /api/service

    :param service_spec: The service specification as JSON.
    :param service_name: The service name, e.g. 'alertmanager'.
    :return: None
    

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/service
  • Auth
    HTTP bearer

Request body

service_namestring required
service_specstring required

Response

Resource created.

object required

Changes

No recorded changes to this operation across all 68 revisions of this API.