Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SCIM] remove users by PUT #697

Open
danflomin opened this issue Feb 12, 2024 · 2 comments
Open

[SCIM] remove users by PUT #697

danflomin opened this issue Feb 12, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@danflomin
Copy link
Collaborator

Hi

I have a group with 2 members, in it, then I had a PUT request to remove one user, and I received the following error

attribute members is immutable

Is this an expected behavior?

The PUT request to keep just 1 user is the following:

{
  "members": [
    {
      "value": "09829117-292e-4169-8e97-0b637d5edcd6",
      "display": "Another1"
    }
  ],
  "id": "611e64cc-95db-4d7a-844e-8b54dc794245",
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:Group"
  ],
  "displayName": "Some Group",
  "externalId": "some-group-id"
}

Kind regards
Dan

@simpleidserver simpleidserver self-assigned this Feb 12, 2024
@simpleidserver simpleidserver added the question Further information is requested label Feb 12, 2024
@simpleidserver
Copy link
Owner

simpleidserver commented Feb 12, 2024

Hello,

This error message is returned when at least one immutable property is modified or not present in the HTTP request.
Could you please check if all the properties present in the first member are the same? The immutable properties to verify are:

  • members.value
  • members.type

Additionally, the property 'members.display' is not defined in the 'GroupSchema.json', and can cause the issue.

Kind regards,

SID

@danflomin
Copy link
Collaborator Author

I will verify this and get back to you.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
No open projects
Development

No branches or pull requests

2 participants