You can view a list of groups a user belongs to and the group details of the logged in user only. You cannot view the list of groups another user belongs to in the same login session. To create groups, you must use the CLI command.

Retrieves a list of groups that the logged in vCloud Application Director user belongs to.

All of the vCloud Application Director predefined user accounts and associated roles can access this API.

GET

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/group

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/group
{
  "errors": false,
  "messageList": [],
  "count": 3,
  "results": [
    {
      "id": "2",
      "lockVersion": 1,
      "name": "QA",
      "description": "Quality Assurance.",
      "lastUpdated": 1378692213749,
      "lastUpdateUser": "SYSTEM",
      "created": 1378692213749,
      "createUser": "SYSTEM"
    },
    {
      "id": "1",
      "lockVersion": 1,
      "name": "Default",
      "description": "The Default vCloud Application Director group.",
      "lastUpdated": 1378692213591,
      "lastUpdateUser": "SYSTEM",
      "created": 1378692213591,
      "createUser": "SYSTEM"
    },
    {
      "id": "3",
      "lockVersion": 1,
      "name": "R-D",
      "description": "Research and development.",
      "lastUpdated": 1378692213750,
      "lastUpdateUser": "SYSTEM",
      "created": 1378692213750,
      "createUser": "SYSTEM"
    }
  ]
}

Retrieves current group details of the user logged in to vCloud Application Director.

All of the vCloud Application Director predefined user accounts and associated roles can access this API.

GET

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/group/current

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/group/current
{
  "errors": false,
  "messageList": [],
  "result": {
    "id": "1",
    "lockVersion": 1,
    "name": "Default",
    "description": "The Default vCloud Application Director group.",
    "lastUpdated": 1378692213591,
    "lastUpdateUser": "SYSTEM",
    "created": 1378692213591,
    "createUser": "SYSTEM"
  }
}