Update Group

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Important

Update currently supports only adding/removing members from the group.

Description : This API allows to add or remove members from the group.

Usage : PUT/api/v1/scim/v2/Groups/<groupName>

Header parameter: Authorization: Bearer

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

Sample request:

{
 "schemas": [
   "urn:ietf:params:scim:schemas:core:2.0:Group"
 ],
 "displayName": "newName",
 "id": "newName",
 "members": [
   {
     "display": "newMember",
     "value": "newMember"
   },
   {
       "value": "anonymous",
       "display": "anonymous"
   }
 ]
}

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

Sample response: 200- OK

200 - OK

{
   "displayName": "exampleGroup",
   "id": "newName",
   "members": [
   {
     "display": "newMember",
     "value": "newMember"
   },
   {
       "value": "anonymous",
       "display": "anonymous"
   }
   ],
   "schemas": [
       "urn:ietf:params:scim:schemas:core:2.0:Group"
   ],
   "meta": {
       "resourceType": "Group"
   }
}