Getting information about a specific user group

Ops Center Common Services REST API Reference Guide

Version
10.9.x
File Size
533 KB
Audience
anonymous
Part Number
MK-99OPS003-06
You can get information about a specific user group.

Execution permission

You must be a system administrator or a security administrator.

Request line

GET base-URL/security/v1/user-groups/object-ID-of-the-user-group

Request message

Object ID of the user group

Specify the value of id acquired by using the request for getting information about a list of user groups.

Attribute

Type

Description

id

string

(Required) Object ID of the user group

Query parameters
None.
Body
None.

Response message

Body
{
    "id": "caf4dd60-5213-430a-907c-17c98c3dca5e",
    "name": "opscenter-administrators",
    "path": "/opscenter-administrators",
    "dn": null,
    "description": null,
    "builtin": true,
    "essential": false,
    "external": false
}

Attribute

Type

Description

id

string

Object ID of the user group

name

string

User group name

path

string

Path

dn

string

Distinguished Name

If the group is not a group imported from an Active Directory or LDAP server, the value null is always returned.

description

string

Description of the user group

builtin

boolean

Whether the user group is a built-in user group

  • true: The user group is a built-in user group.
  • false: The user group is not a built-in user group.

essential

boolean

Whether the user group is an essential user group (opscenter-users)

  • true: The user group is an essential user group.
  • false: The user group is not an essential user group.

external

boolean

Whether the user group was imported from an external source

  • true: The user group was imported from an external source.
  • false: The user group was not imported from an external source.

Coding example

curl -v -X GET -s "https://example.com:443/portal/security/v1/user-groups/caf4dd60-5213-430a-907c-17c98c3dca5e" -H "Authorization:Bearer eyJhbxxx"
Tip: Because this request uses SSL communication, you must either run the curl command with the root certificate of the Common Services server certificate specified for the --cacert option, or run the command with the -k option specified. (The -k option runs the command by ignoring SSL errors.)