Skip to content

Patching users #25

@nielsvanzon

Description

@nielsvanzon

I was wondering if keystone supports the PATCH operation on the Users endpoint. I would like for example to update the active value of an user. I have tried the following. It returns a 200 but no changes to the active field in the database (I'm using Postgres).

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "replace",
      "value": {
         "active": true
      }
    }
  ]
}

Also tried it with a path. Same 200 and no changes.

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "replace",
      "path" : "active",
      "value": true
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions