curl --request GET \
--url https://api.decodahealth.com/admin/providers/role/list \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"id": "<string>",
"name": "<string>",
"userType": "ADMIN",
"createdDate": "2023-11-07T05:31:56Z",
"updatedDate": "2023-11-07T05:31:56Z"
}
]Get a list of all available roles
curl --request GET \
--url https://api.decodahealth.com/admin/providers/role/list \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"id": "<string>",
"name": "<string>",
"userType": "ADMIN",
"createdDate": "2023-11-07T05:31:56Z",
"updatedDate": "2023-11-07T05:31:56Z"
}
]The tenant you are making this request on behalf of
Your api key
Successful Response
Unique identifier for the role
Role name (e.g., 'admin', 'user', 'billing_manager')
Role type (ADMIN, PROVIDER, USER)
ADMIN, PROVIDER, USER When the role was created
When the role was last updated