curl --request GET \
--url https://apix.us.amity.co/api/v3/roles \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"data": [
{
"roleId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"permissions": [
"<string>"
],
"isDeleted": false,
"displayName": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Get roles (pagination support)
curl --request GET \
--url https://apix.us.amity.co/api/v3/roles \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"data": [
{
"roleId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"permissions": [
"<string>"
],
"isDeleted": false,
"displayName": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
search keyword
100lastCreated, firstCreated, displayName Show child attributes