Documentation is now available for the Fall 2020 Update release!

Restore category

This endpoint is used to retrieve a knowledge base category from TRASH.

Leave Feedback

URL

POST https://api.opsramp.com/api/v2/tenants/{tenantId}/kb/category/restore/{categoryId}

Sample URLs

https://api.opsramp.com//api/v2//tenants/client_11/kb/category/restore/KBC0000000077

Status code

200 OK

Sample response

{
    "id": "KBC0000000077",
    "name": "API category updated",
    "description": "sample description",
    "createdBy": {
        "id": "USR0000000002",
        "loginName": "opsramp_api_user",
        "lastName": " ",
        "firstName": "OpsRamp API User",
        "email": "helpdesk@opsramp.com"
    },
    "updatedBy": {
        "id": "USR0000000002",
        "loginName": "opsramp_api_user",
        "lastName": " ",
        "firstName": "OpsRamp API User",
        "email": "helpdesk@opsramp.com"
    },
    "path": "API category updated",
    "state": "ACTIVE",
    "createdDate": "2019-05-20T07:00:01+0000",
    "updatedDate": "2019-05-20T07:31:28+0000"
}