Skip to content

Roles API

Christopher Posada edited this page Apr 10, 2019 · 1 revision

Endpoint

api/roles (give me all the roles)

Response

[
    {
        "name": "Platform Engineer",
        "id": 1
    },
    {
        "name": "Front End Engineer",
        "id": 2
    }
]

Endpoint

api/roles/{id} (give me the role {id})

Response

    {
        "name": "Platform Engineer",
        "id": 1
    }

Notes

No auth token required.

Clone this wiki locally