from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.roles.get(role_id="role_3YjJOLjbqvZ87")
# Handle response
print(res)
{
"data": {
"id": "role_LMmAD8vldwop2",
"type": "roles",
"attributes": {
"name": "billing"
}
},
"meta": {}
}
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.roles.get(role_id="role_3YjJOLjbqvZ87")
# Handle response
print(res)
{
"data": {
"id": "role_LMmAD8vldwop2",
"type": "roles",
"attributes": {
"name": "billing"
}
},
"meta": {}
}
Was this page helpful?