The Create SCIM operation creates new groups based on the values provided.

Examples:

  1. Request to create a group (without members).
  2. Request to create a group with members

Create Group example 1

Request to create a group (without members).

Request

POST "https://<CONDECO-SCIM-Domain>/scim/api/V1/groups"
{
    "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Group"
        ],
    "externalId": "155fcf8c-c7a2-4145-af48-f018a10da50645",
    "displayName": "SCIMGroup",
    "meta": {
        "resourceType": "Group"
    }   
}

Response

HTTP/1.1 201 Created

{
    "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Group"
    ],
    "id": "G602",
    "externalId": "155fcf8c-c7a2-4145-af48-f018a10da88645",
    "meta": {
        "resourceType": "Group",
        "created": "2021-03-09T11:52:17.777",
        "location": "https://<CONDECO-SCIM-Domain>/scim/api/V1/groups/G602"
    },
    "displayName": "SCIMGroup"

}

Create Group example 2

Request to create a group with members

Request

POST "https://<CONDECO-SCIM-Domain>/scim/api/V1/groups"
{
    "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Group"
        ],
    "externalId": "ExSCIMGroupNew123",
    "displayName": "SCIMGroupNew",
    "meta": {
        "resourceType": "Group"
    },
     "members":[{
    "value":"265"
    },
    {
    "value":"267"
    }]  
}   
}

Response

HTTP/1.1 201 Created

{
    "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Group"
    ],
    "id": "G603",
    "externalId": "ExSCIMGroupNew123",
    "meta": {
        "resourceType": "Group",
        "created": "2021-03-09T11:52:17.777",
        "location": "https://<CONDECO-SCIM-Domain>/scim/api/V1/groups/G603"
    },
    "displayName": "SCIMGroupNew"

}

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
Condeco Support

Post Comment