POST Deployment New
Initiates configuration of a newly installed Operations for Logs server as the
first member of a new cluster. When setting up a standalone server or
the first node of the cluster, call this API to initialize the server.
The configuration can take several minutes to complete. Use the
POST /api/v2/deployment/waitUntilStarted
API to track the status of
new deployment.
{
"user": {
"username": "admin",
"password": "secret",
"email": "[email protected]"
}
}
Successfully configured the server.
The request failed because the request body either did not contain valid JSON, or did not match the required JSON format.
{
"errorMessage": "Invalid request body.",
"errorCode": "JSON_FORMAT_ERROR",
"errorDetails": {
"reason": "..."
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
This interface is not available after the Operations for Logs server has been configured.
{
"errorMessage": "This call isn't allowed after the Operations for Logs server is bootstrapped"
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
Internal error while processing the client request
{
"errorMessage": "The operation failed due to an internal error."
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v2/deployment/new