Skip to main content
POST
/
api
/
accesscontrol
/
createAccessControlGroup
Create access control group
curl --request POST \
  --url https://api2.rhombussystems.com/api/accesscontrol/createAccessControlGroup \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "name": "Engineering Team",
  "description": "Software engineering team members",
  "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "userUuids": [
    "AAAAAAAAAAAAAAAAAAAAAA"
  ]
}
'
{
  "group": {
    "createdAtMillis": 123,
    "description": "<string>",
    "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "name": "<string>",
    "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "type": "RHOMBUS_ACCESS_CONTROL",
    "updatedAtMillis": 123,
    "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
  },
  "groupMembers": [
    {
      "createdAtMillis": 123,
      "groupUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "type": "RHOMBUS_ACCESS_CONTROL",
      "updatedAtMillis": 123,
      "userUuid": "AAAAAAAAAAAAAAAAAAAAAA"
    }
  ]
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request to create an organization group.

name
string | null
required

Name of the group

Example:

"Engineering Team"

description
string | null

Description of the group

Example:

"Software engineering team members"

locationUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

userUuids
(string<RUUID> | null)[] | null

List of user UUIDs to add to the group

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

Response

200 - application/json

OK

Response for organization group creation.

group
object

Updated organization group details

groupMembers
object[] | null

List of group members if optionally added when creating the group