List Permissions

Back to Permission Resources

Summary

Gets the details about an existing permission.

GET /permissions/:permission_id

Response

Example

Get the permission with the permission_id of 1.

GET /permissions/1

200 OK
{
  "href" : "http://your.ambari.server/api/v1/permissions/1",
  "PermissionInfo" : {
    "permission_id" : 1,
    "permission_name" : "AMBARI.ADMINISTRATOR",
    "permission_label" : "Ambari Administrator",
    "resource_name" : "AMBARI"
  }
}