---
title: "Create Security group"
slug: "create-security-group"
updated: 2026-05-26T12:48:31Z
published: 2026-05-26T12:48:45Z
canonical: "developers.cmicglobal.com/create-security-group"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developers.cmicglobal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Security group

Post/sys-rest-api/rest/1/jcjobsecgrp

## Overview

This endpoint enables the creation of security groups,thereby granting them access to associated jobs and projects.

## UI Navigation

System Data > Job/Project Security > Create Security Groups

## Reference Article

[https://docs.cmicglobal.com/portal/Content/E_Reference_Material/SD_-_System_Data/Reference/Security/Job_Project_Security.htm?Highlight=assign%20user%20to%20job%20security%20group](https://docs.cmicglobal.com/portal/Content/E_Reference_Material/SD_-_System_Data/Reference/Security/Job_Project_Security.htm?Highlight=assign%20user%20to%20job%20security%20group)

## Finders

The following finders are available for data filtering and optimizing request performance.

- findByCompCode
- findByGroupCode

## Query Standards

| Key | Recommended | Description |
| --- | --- | --- |
| `finder` | Yes | Filters data based on attributes. |
| `limit` | Yes | No. of items to return |
| `offset` | Yes | The offset skips a specified number of items in a data list before it starts showing results. For example, if you set an offset of 10, it skips the first 10 items and begins showing from the 11th item. For additional information on using offset functionality, please visit [Best Practice |
| `orderBy` | Yes | The `orderBy` attribute retrieves rows using an order ensuring the response payload displays data in the order supplied in the URL parameter using the GET method. For more information on using `orderBy` functionality, please visit [Best Practice |

## Finders

| Finder | Parameter | Data Type | Description | Example | Mandatory |
| --- | --- | --- | --- | --- | --- |
| PrimaryKey | VUUID | String | V_UUID | /431ACBF2E3E36B08E0630B811DAC71E5 | False |
| findByCompCode | compcode | String | companyCode | /syst-rest-api/rest/1/jcjobsecgrp?finder=findByCompCode;compcode="ZZ" | Optional |
| findByGroupCode | groupcode | String | security group | /sys-rest-api/rest/1/jcjobsecgrp?finder=findByGroupCode;groupcode="MASTER" | Optional |

## Attributes

| CMiC UI Fieldname | Object | Name | Description | Type | Data Length | Example | Mandatory |
| --- | --- | --- | --- | --- | --- | --- | --- |
|  | jcjobsecgrp | JsgName | group name | String | 30 | ACHAMPION | True |
|  | jcjobsecgrp | JsgCompCode | companyCode | String | 8 | ZZ | True |
|  | jcjobsecgrp | JsgCode | security group code | String | 10 | MASTER | True |
|  | jcjobsecgrp | JsgVUuid | vuuid | String | 64 | 431ACBF2E3E36B08E0630B811DAC71E5 | False |

SecurityHTTPType basic

Basic authentication

Header parametersContent-TypestringExampleapplication/vnd.oracle.adf.resourceItem+json

Body parameters<select class='api-response-data' aria-label='Media type'><option value='0a0f0fa4-a1a7-4446-98c6-266eecb0d7ea'>application/json</option>
</select>object  Example{
  "JsgCompCode": "ZZ",
  "JsgCode": "UIC3",
  "JsgVUuid": "",
  "JsgName": "Adding a record - API"
}

Responses201

Created

HeadersContent-TypestringExampleapplication/vnd.oracle.adf.resourceitem+json
<select class='api-response-data' aria-label='Media type'><option value='db50c61a-8861-4bc4-a436-1f8318d980fa'>application/json</option>
</select>

```json
{
  "UroleCode": "PAYADMIN",
  "UroleName": "Payroll Administrator",
  "UroleUser": "ADAM1",
  "UroleVUuid": "39FC3FEADCC249CDE0630B811DAC5F98",
  "UroleCreateDate": "2025-07-16T15:09:50Z",
  "links": [
    {
      "rel": "self",
      "href": "http://localhost:7101/sys-rest-api/rest/1/sduserroles/39FC3FEADCC249CDE0630B811DAC5F98",
      "name": "sduserroles",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://localhost:7101/sys-rest-api/rest/1/sduserroles/39FC3FEADCC249CDE0630B811DAC5F98",
      "name": "sduserroles",
      "kind": "item"
    }
  ]
}
```

object
