Hadoop Security Guide
Also available as:
PDF
loading table of contents...
Update Service by Name
API NameUpdate Service
Request TypePUT
Request URLservice/public/v2/api/service/name/{name}
Request Params
{
    "configs": {
        "password": "*****",
        "username": "admin"
    },
    "description": "test service",
    "isEnabled": true,
    "name": "cl1_test",
    "type": "test"
}
Response
{
    "configs": {
        "password": "*****",
        "username": "admin"
    },
    "createTime": 1451348710000,
    "createdBy": "Admin",
    "description": "test service",
    "guid": "e72cb64d-66d7-4632-b5ae-c6966cb52105",
    "id": 6,
    "isEnabled": true,
    "name": "cl1_test",
    "policyUpdateTime": 1451351474000,
    "policyVersion": 3,
    "tagVersion": 1,
    "type": "test",
    "updateTime": 1451352016713,
    "updatedBy": "Admin",
    "version": 5
}