curl --request GET \
--url http://{defaultHost}/api/v2/platform/roles/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "6",
"type": "role",
"attributes": {
"name": "Role 6",
"created_at": "2022-11-08T19:35:07.384Z",
"updated_at": "2022-11-08T19:35:07.384Z"
}
}
}Returns a Role
curl --request GET \
--url http://{defaultHost}/api/v2/platform/roles/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "6",
"type": "role",
"attributes": {
"name": "Role 6",
"created_at": "2022-11-08T19:35:07.384Z",
"updated_at": "2022-11-08T19:35:07.384Z"
}
}
}Was this page helpful?