Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.
You're reading Identity & Access Management 7.2.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

SCIM 2.0 Groups API

Download OpenAPI (YAML)Version 1.0.0

Base URL: https://localhost:9443/t/carbon.super/scim2

The SCIM 2.0 Groups API (version 1.0.0).

Download the OpenAPI definition (YAML)

Security schemes​

BasicAuth: HTTP basic

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:9443/oauth/token, authorization URL https://localhost:9443/oauth/authorize

3 scopes
ScopeDescription
readGrants read access
writeGrants write access
adminGrants read and write access to administrative information

Groups Endpoint​

Filter groups​

GET /Groups

This API returns groups according to the specified filter, sort, and pagination parameters.

Scope(Permission) required:internal_group_mgt_view

Parameters

NameInTypeRequiredDescription
attributesquerystring

SCIM defined attributes parameter.

excludedAttributesquerystring

SCIM defined excludedAttribute parameter.

filterquerystring

Filter expression for filtering

startIndexqueryinteger (int32)

The 1-based index of the first query result

countqueryinteger (int32)

Specifies the desired maximum number of query results per page.

domainquerystring

The name of the user store where filtering needs to be applied.

Responses

CodeDescriptionSchema
200

Valid groups are found

GroupsListResponseObject
401

Unauthorized

ErrorUnauthorized
403

Forbidden

ErrorForbidden

Create group​

POST /Groups

This API creates a group and returns the details of the created group including its unique ID.

Scope(Permission) required:internal_group_mgt_create

Parameters

NameInTypeRequiredDescription
attributesquerystring

SCIM defined attributes parameter.

excludedAttributesquerystring

SCIM defined excludedAttribute parameter.

Request body: application/scim+json

Schema: GroupRequestObject

3 properties
NameTypeRequiredDescription
schemasarray of stringYes
displayNamestringYes
membersarray of object

Responses

CodeDescriptionSchema
201

Valid group is created

GroupResponseObject
401

Unauthorized

ErrorUnauthorized
403

Forbidden

ErrorForbidden
409

Group already exist

ErrorGroupAlreadyAvailable

Search groups​

POST /Groups/.search

This API returns groups according to the specified filter, sort, and pagination parameters.

Scope(Permission) required:internal_group_mgt_view

Request body: application/scim+json

Schema: GroupSearchRequestObject

3 properties
NameTypeRequiredDescription
schemasobject
startIndexinteger
filterstring

Responses

CodeDescriptionSchema
200

Valid groups are found

GroupSearchResponseObject
401

Unauthorized

ErrorUnauthorized
403

Forbidden

ErrorForbidden

Get group by ID​

GET /Groups/{id}

This API returns the group details of a particular group using its unique ID.

Scope(Permission) required:internal_group_mgt_view

Parameters

NameInTypeRequiredDescription
idpathstringYes

Unique ID of the resource type.

attributesquerystring

SCIM defined attributes parameter.

excludedAttributesquerystring

SCIM defined excludedAttribute parameter.

Responses

CodeDescriptionSchema
200

Valid group is found

GroupResponseObject
401

Unauthorized

ErrorUnauthorized
403

Forbidden

ErrorForbidden

Update group - PUT​

PUT /Groups/{id}

This API updates the group details and returns the updated group details using a PUT operation.

Scope(Permission) required:internal_group_mgt_update

Parameters

NameInTypeRequiredDescription
idpathstringYes

Unique ID of the resource type.

attributesquerystring

SCIM defined attributes parameter.

excludedAttributesquerystring

SCIM defined excludedAttribute parameter.

Request body: application/scim+json

Schema: GroupPutRequestObject

2 properties
NameTypeRequiredDescription
displayNamestring
membersarray of object

Responses

CodeDescriptionSchema
200

Group is updated

GroupPutResponseObject
400

Invalid Input

ErrorInvalidInput
401

Unauthorized

ErrorUnauthorized
403

Forbidden

ErrorForbidden

Delete group​

DEL /Groups/{id}

This API deletes a particular group using its unique ID.

Scope(Permission) required:internal_group_mgt_delete

Parameters

NameInTypeRequiredDescription
idpathstringYes

Unique ID of the resource type.

Responses

CodeDescriptionSchema
204

Group is deleted

401

Unauthorized

ErrorUnauthorized
403

Forbidden

ErrorForbidden

Update group - PATCH​

PATCH /Groups/{id}

This API updates the group details and returns the updated group details using a PATCH operation.

Scope(Permission) required:internal_group_mgt_update

Parameters

NameInTypeRequiredDescription
idpathstringYes

Unique id of the resource type.

attributesquerystring

SCIM defined attributes parameter.

excludedAttributesquerystring

SCIM defined excludedAttribute parameter.

Request body: application/scim+json

Schema: PatchGroupOperationRequestObject

2 properties
NameTypeRequiredDescription
schemasarray of string
Operationsarray of GroupItemObj

Responses

CodeDescriptionSchema
200

Group is updated

PatchGroupOperationResponseObject
401

Unauthorized

ErrorUnauthorized
403

Forbidden

ErrorForbidden

Schemas​

GroupRequestObject​

Type: object

3 properties
NameTypeRequiredDescription
schemasarray of stringYes
displayNamestringYes
membersarray of object

GroupResponseObject​

Type: object

10 properties
NameTypeRequiredDescription
displayNamestring
metaobject
meta.createdstring
meta.locationstring
meta.lastModifiedstring
meta.resourceTypestring
schemasarray of string
idstring
membersarray of object
rolesarray of object

GroupsListResponseObject​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger
startIndexinteger
itemsPerPageinteger
schemasarray of string
Resourcesarray of groupOb

GroupSearchRequestObject​

Type: object

3 properties
NameTypeRequiredDescription
schemasobject
startIndexinteger
filterstring

GroupSearchResponseObject​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger
startIndexinteger
itemsPerPageinteger
schemasarray of string
Resourcesarray of groupOb

groupOb​

Type: object

8 properties
NameTypeRequiredDescription
displayNamestring
metaobject
meta.createdstring
meta.locationstring
meta.lastModifiedstring
membersarray of object
rolesarray of object
idstring

GroupPutRequestObject​

Type: object

2 properties
NameTypeRequiredDescription
displayNamestring
membersarray of object

GroupPutResponseObject​

Type: object

9 properties
NameTypeRequiredDescription
displayNamestring
metaobject
meta.createdstring
meta.locationstring
meta.lastModifiedstring
meta.resourceTypestring
schemasarray of string
idstring
membersarray of object

PatchGroupOperationRequestObject​

Type: object

2 properties
NameTypeRequiredDescription
schemasarray of string
Operationsarray of GroupItemObj

GroupItemObj​

Type: object

3 properties
NameTypeRequiredDescription
opstring

Allowed values: add, remove, replace

valueobject
value.membersarray of object

PatchGroupOperationResponseObject​

Type: object

9 properties
NameTypeRequiredDescription
displayNamestring
metaobject
meta.createdstring
meta.locationstring
meta.lastModifiedstring
meta.resourceTypestring
schemasobject
idstring
membersarray of object

ErrorInvalidInput​

Type: object

4 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
scimTypestring
detailstringYes

ErrorUnauthorized​

Type: object

3 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
scimTypestring

ErrorForbidden​

Type: object

3 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
scimTypestring

ErrorGroupAlreadyAvailable​

Type: object

3 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
detailstringYes

Was this page helpful?