cancel
Showing results for 
Search instead for 
Did you mean: 

SCIM1.1 Patch operation not working to remove user from Group

scim
New Member
0 Kudos

SCIM1.1 Patch operation not working to remove user from Group

Hi,

 

I am using SCIM server 1.8.9

 

Using patch operation I am not able to remove 1 user from group.

I had two users in the group and I want to remove one using patch operation

 

Request:

PATCH /v1/Groups/cn=testgrp,dc=example,dc=com HTTP/1.1
Host: localhost:8081
Accept: application/json
Content-Type: application/json
Authorization: Basic YmplbnNlbjpwYXNzd29yZA==
If-Match: W/"a330bc54f0671c9"
Cache-Control: no-cache
Postman-Token: 43d547ae-4c0b-6283-887c-8e5375759a00

{
 "members": [
    {
      "type": "User",
      "value": "uid=bjensen,ou=people,dc=example,dc=com",
      "operation": "delete"
    }
  ]
}

 

Response:

 

{
  "Errors": [
    {
      "code": "400",
      "description": "Attribute 'urn:scim:schemas:core:1.0:members' is required"
    }
  ]
}

Labels