Restore Project
  • 14 Aug 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Restore Project

  • Dark
    Light
  • PDF

Restore a Project from the recycle bin

Method for restoring a Project from the recycle bin (Trash).

postman Download our collection of Postman queries to see more examples of Corezoid API v2.

URL

https://api.corezoid.com/api/2/json/{API_LOGIN}/{TIMESTAMP}/{SIGNATURE}

Request

{
    "ops": [
        {
            "type": "restore",
            "obj": "project",
            "obj_id": {{OBJECT_ID}},
            "company_id": {{COMPANY_ID}}
        }
    ]
}
Parameter Type Required Description Possible value
ops JSON Object + The list of operations to proceed via Corezoid API. A parameter keeping JSON objects with operations * The number is user-limited by RPS limit.
type string + Request type restore
obj string + Object of request project
obj_id number + ID of the Project, which will be restored. You can use the obj_short_name instead Deleted Project ID
obj_short_name string +* Short name of the Project, which will be restored, optional. *You can use it instead of the obj_id Short name of a deleted Project
company_id string + ID of the company, in which the Project was created An ID of the existing Company

Response

{
    "request_proc": "ok",
    "ops": [
        {
            "id": "",
            "obj": "project",
            "obj_id": {{OBJECT_ID}},
            "proc": "ok"
        }
    ]
}
Parameter Type Description Possible value
request_proc string The overall processing status of all transactions from the request ok, error
ops array The list of request results
id string Request ID empty
proc string Processing status of an operation ok, error
obj string Object of request project
obj_id number Project ID