Skip to main content
GET
/
roles
/
{role_id}
Python (SDK)
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": {}
}

Authorizations

Authorization
string
header
required

Path Parameters

role_id
string
required

Response

200 - application/vnd.api+json

Success

data
object
meta
object
I