Get Role Details

This method will output the details for a particular user role.

GET /roles/:id.xml
GET /roles/:id.json

XML Output example

<?xml version="1.0" encoding="UTF-8"?>
<role>
<label>TT</label>
<created_at type="datetime">2011-02-11T11:20:00Z</created_at>
<updated_at type="datetime">2011-02-11T13:56:44Z</updated_at>
<id type="integer">3</id>
<identifier>gkue74amkiznb7</identifier>
<permissions type="array">
<permission>
<label>Any action Sysadmin Tools</label>
<created_at type="datetime">2011-02-11T10:35:16Z</created_at>
<updated_at type="datetime">2011-02-11T10:35:16Z</updated_at>
<id type="integer">4</id>
<identifier>sysadmin_tools.read</identifier>
</permission>
</permissions>
</role>

For details refer Get List of Roles section.

The role for a particular user is output on /users/:id request.