Returns the specified team's workspaces and roles data
GET/v1/workspaces/teams/:teamUid/roles
Returns the specified team's workspaces and roles data
Request
Path Parameters
teamUid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
 
OK
- application/json
 
- Schema
 - Example (from schema)
 
Schema
- Array [
 - Array [
 - Array [
 - ]
 - Array [
 - ]
 - ]
 - ]
 
projects undefined[]
namestring
uidstring
workspaces undefined[]
inheritedRoles object[]
namestring
uidstring
namestring
roles object[]
namestring
uidstring
uidstring
{
  "projects": [
    {
      "name": "string",
      "uid": "string",
      "workspaces": [
        {
          "inheritedRoles": [
            {
              "name": "string",
              "uid": "string"
            }
          ],
          "name": "string",
          "roles": [
            {
              "name": "string",
              "uid": "string"
            }
          ],
          "uid": "string"
        }
      ]
    }
  ]
}
Loading...