Apache Ranger Public REST APIs
Also available as:
PDF

Update Service by Name

Reference information for the Ranger REST API service/public/v2/api/service/name/{name}.

API Name Update Service
Request Type PUT
Request URL service/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
}