API documentation

Update a protection resource group

Updates a group owned by your firm. A restricted key may update only an allowed group.

PUT/v1/protection-resources/groups/{id}
PUTUpdate a protection resource group
curl -X PUT "https://api.darkradar.com/api/public/v1/protection-resources/groups/64b1f0c2a9e4d21f8c3b9a10" \
  -H "x-api-key: $DARKRADAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"description":"Güncel kapsam","isActive":true}'
Response

Success

{
  "success": true,
  "message": "OK",
  "data": {
    "group": {
      "_id": "64b1f0c2a9e4d21f8c3b9a10",
      "name": "Üretim varlıkları",
      "isActive": true
    }
  }
}

Access

Scopeprotection-resources:write
Plan entitlementapi_access

Path parameters

FieldsValues
id · string · requiredRecord id (24 hex chars) · Example: 64b1f0c2a9e4d21f8c3b9a10

Request body

FieldsValues
name · string · optionalNew group name
description · string · optionalNew description
isActive · boolean · optionalWhether the group is active

Responses

200Success
400Invalid request (malformed id, missing or invalid field)
401Key missing, invalid, expired or revoked
403Insufficient scope, no API access in plan, or product not enabled
404Record not found or not owned by this key’s firm
408The request exceeded its maximum response time
429Rate limit exceeded; retry after a minute

Response limits

Rate limit500 requests per 15 min · per IP

Was this page helpful?