Get role
GET /api/v1/roles/{id}
GET
/api/v1/roles/{id}
Retrieves a single role by ID.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
integer
Role ID
Responses
Section titled “ Responses ”Successful
object
id
required
integer
Example
12345 name
required
string
Example
Admin role_permissions
required
Array<string>
builtin
required
boolean
created_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z updated_at
required
string format: date-time
Example
2023-08-23T10:30:00.000ZUnauthorized
object
message
required
string
Example
Record not foundForbidden
object
message
required
string
Example
Record not foundNot Found
object
message
required
string
Example
Record not found