POST /patterns

Use this POST method to import previously exported patterns into a Lenovo XClarity Administrator instance.


Authentication with user name and password is required.

Request URL

POST https://<management_server_IP>/patterns

Query parameters


Request body

The request body must be a correctly formatted JSON of the configuration pattern that you want to import. Use the response body from an exported configuration pattern of the same type of pattern that you want to import using GET /patterns/<id>/includeSettings.

Response codes

Code Description
200 OK. Pattern was imported successfully, or the server pattern was imported successfully but a duplicate pattern was found.
400 Bad request
409 Conflict. The imported pattern or another pattern with same settings already exists.
500 Internal server error

Response body

Attributes Type Description
id String Unique id of server pattern that was imported
message String Message with description of success or failure

Response example

    "id": "46",
    "message":"New pattern imported successfully"