Form Role
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
orderbystringOptionalExample:
Sorting parameter Available values : entity fields Default value : id
idorderstringOptionalExample:
Sorting parameter Available values : [ASC,DESC] !! Default value : ASC "default not working"
Desclimitinteger · int32OptionalExample:
Paging parameter Default value : null
2offsetinteger · int32OptionalExample:
Paging parameter Default value : 0
3rolesinteger · int32OptionalExample:
Filter parameter check the role value
1Responses
200
OK
application/json
get
/api/v3/forms/2/roles200
OK
edit form roles
PUT https://ushahididocs.api.ushahidi.io/api/v3/forms/2/roles
Request Body
Name
Type
Description
form_id
String
The form ID
roles
Array
List of roles by ID