Role and Scope

Get all Roles

GET https://your.host.lab/my-team/roles

Only for admin purposes

{
    "error_code": 0,
    "error_message": "OK",
    "server_time": 1639111358,
    "data": [
        {
            "description": "When Mr. Bilbo Baggins of Bag End announced that he would shortly be celebrating his eleventy-first birthday with a party of special magnificence, there was much talk and excitement in Hobbiton.",
            "display_name": "TEAM_OWNER",
            "id": "TEAM_OWNER"
        },
        {
            "description": "When Mr. Bilbo Baggins of Bag End announced that he would shortly be celebrating his eleventy-first birthday with a party of special magnificence, there was much talk and excitement in Hobbiton.",
            "display_name": "TEAM_ADMIN",
            "id": "TEAM_ADMIN"
        },
        {
            "description": "When Mr. Bilbo Baggins of Bag End announced that he would shortly be celebrating his eleventy-first birthday with a party of special magnificence, there was much talk and excitement in Hobbiton.",
            "display_name": "PROJECT_ADMIN",
            "id": "PROJECT_ADMIN"
        },
        {
            "description": "When Mr. Bilbo Baggins of Bag End announced that he would shortly be celebrating his eleventy-first birthday with a party of special magnificence, there was much talk and excitement in Hobbiton.",
            "display_name": "WORKER",
            "id": "WORKER"
        },
        {
            "description": "When Mr. Bilbo Baggins of Bag End announced that he would shortly be celebrating his eleventy-first birthday with a party of special magnificence, there was much talk and excitement in Hobbiton.",
            "display_name": "GUEST",
            "id": "GUEST"
        }
    ]
}

Get system roles

GET https://your.host.lab/my-team/roles/{id}/boostrap-static

Only for admin purposes : Get system roles

Get all Scopes basis

GET https://your.host.lab/my-team/scopes

Only for admin purposes

Last updated