UPDATE User

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Important

Update currently supports only disabling and re-enabling users.

Description: This API allows to disable or re-enable the user status by editing the “active” attribute.

Usage: PUT /api/v1/scim/v2/Users/<id>

Consumes: application/scim+json; charset=UTF-8

Sample request:

{
  "id": "jbibinka2@example.com",
  "userName": "jbibinka2@example.com",
  "active": true,
  "emails": [
    {
      "primary": true,
      "value": "jbibinka2@example.com"
    }
  ],
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ]
}

Produces: application/scim+json; charset=UTF-8

Header parameter: Authorization: Bearer Sample response:

200 - OK

{
  "id": "jbibinka2@example.com",
  "userName": "jbibinka2@example.com",
  "active": true,
  "emails": [
    {
      "primary": true,
      "value": "jbibinka2@example.com"
    }
  ],
  "groups": [
    {
      "value": "readers"
    }
  ],
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "meta": {
    "resourceType": "User"
  }
}