Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Get all roles

GET {{baseUrl}}/workspaces-roles

Gets information about all roles in a workspace, based on the team's [plan]

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "roles": { "user": [ { "id": 3, "displayName": "Admin", "description": "Can manage workspace details and members." }, { "id": 1, "displayName": "Viewer", "description": "Can view, fork, and export workspace resources." }, { "id": 2, "displayName": "Editor", "description": "Can create and edit workspace resources." } ], "usergroup": [ { "id": 3, "displayName": "Admin", "description": "Can manage workspace details and members." }, { "id": 1, "displayName": "Viewer", "description": "Can view, fork, and export workspace resources." }, { "id": 2, "displayName": "Editor", "description": "Can create and edit workspace resources." } ] } }



Curl
curl -X GET 'https://api.getpostman.com/workspaces-roles'

ENDPOINTS