Skip to content

Update asset group

Request

Security
bearerAuth and apiKeyAuth
Path
groupIdstringrequired

Group id

Bodyapplication/jsonrequired
namestringrequired

Name of the group

descriptionstring

Description of the group

clientIdinteger, (int64)

Client id of the group.

assetIdsArray of strings

Asset Id's in the group

clientCustomFieldsobject

Client level custom fields of the group

partnerCustomFieldsobject

Partner level custom fields of the group

groupTypestring(GroupType)required

Type of group e.g. DEFINED, DYNAMIC

assetTypestring(AssetType)required

Type of asset in the group

Enum:"USER""BRAND""ACCOUNT""CLIENT"
assetPermissionsArray of objects(AssetShareConfig)

Asset Permission assigned to the group

subscribersArray of objects(Subscriber)

Subscribers of the group

curl -i -X PUT \
  'https://api3.sprinklr.com/prod/api/v3/asset-group/{groupId}' \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "name": "string",
    "description": "string",
    "clientId": 0,
    "assetIds": [
      "string"
    ],
    "clientCustomFields": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    },
    "partnerCustomFields": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    },
    "groupType": "string",
    "assetType": "USER",
    "assetPermissions": [
      {
        "type": "string",
        "ids": [
          "string"
        ]
      }
    ],
    "subscribers": [
      {
        "type": "string",
        "ids": [
          "string"
        ]
      }
    ]
  }'

Responses

Success

Bodyapplication/json
string(AssigneeType)
Response
"string"