Modify the specified publications object.

Version:  v4

Required Permissions

Request

Request Type: PUT

Endpoint:

/v4/publications/<id>

Request URI - Example:

/v4/publications/3/

Request Body:

The following changes the path, table name, and action applied on the table for the specified publication. For more information on the properties, see API Publications Get v4.

{
    "path": [
        "default"
    ],
    "tableName": "MyTable-DropAndLoad",
    "action": "dropAndLoad"
}

Response

Response Status Code - Success:  200 - OK

Response Body Example:

{
    "id": 3,
    "updater": {
        "id": 1
    },
    "updatedAt": "2018-11-08T21:11:54.880Z"
}

Reference

For more information on the properties of the publications object, see API Publications Get v4.