Returns the specified User workspaces and Roles information
GET/v1/workspaces/users/:userUid/roles
Returns a User with workspaces and roles
Request
Path Parameters
userUid 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...