curl --location --request POST '/iam/v1/roles/search' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"term": "admin",
"page": 1,
"limit": 10
}'{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Administrator",
"type": "admin",
"description": "Full system administrator role"
}
],
"meta": {
"total": 150,
"page": 1,
"records": 10,
"pages": 15
}
}