POST
https://ushahididocs.api.ushahidi.io/api/v3/roles
name
String
Name of the User
permissions
array
An array containing strings of role permissions
description
String
Role description
display_name
String
The user display name
protected
Boolean
Set True to protect the role and false for unprotected
PUT
https://ushahididocs.api.ushahidi.io/api/v3/roles/1
display_name
String
Display name
permissions
Array
An array containing strings of permissions
description
String
Role description
protected
Boolean
Set True to protect the role and false for unprotected
Sorting parameter Available values : entity fields Default value : id
Sorting parameter Available values : [ASC,DESC] Default value : ASC !! not work
Paging parameter Default value : null
Paging parameter Default value : 0
Filter parameter if this parameter is set then the api will return posts containing q text in name property
Filter parameter return the roles with name value