Update template

This endpoint is used to update a knowledge base template.

Leave Feedback

URL

POST https://api.opsramp.com/api/v2//tenants/{clientId}/kb/article

Sample URLs

https://api.opsramp.com//api/v2//tenants/client_11/kb/article

Parameters

FieldData TypeDescription
subjectStringDefines the subject of the knowledge base category.
contentStringDefines the content of the category.

Status code

200 OK

Sample request

{
    "subject": "Updated the Template",
    "content": "Updated the Template Content Changes"
}

Sample response

{
    "id": "KB0000000042",
    "subject": "Updated the Template",
    "content": "Updated the Template Content Changes",
    "createdTime": "2019-05-14T08:45:49+0000",
    "updatedTime": "2019-05-42T09:45:29+0000",
    "createdBy": {
        "id": "USR0000000002",
        "loginName": "opsramp_api_user",
        "lastName": " ",
        "firstName": "OpsRamp API User",
        "email": "dev@opsramp.com"
    },
    "updatedBy": {
        "id": "USR0000000002",
        "loginName": "opsramp_api_user",
        "lastName": " ",
        "firstName": "OpsRamp API User",
        "email": "dev@opsramp.com"
    },
    "shared": false,
    "category": {
        "id": "KB0000000002",
        "name": "Client",
        "description": "Client",
        "path": "Client",
        "state": "ACTIVE"
    },
    "state": "PUBLISHED"
}