Sharing Groups

Edit a sharing group

Changed on
post/sharing_groups/edit/{sharingGroupId}

Request

  • Base URL
    https://misp.local
  • URL
    https://misp.local/sharing_groups/edit/{sharingGroupId}
  • Auth
    API key in header Authorization

Path parameters

OR
string uuid required
Example:1

UUID or numeric ID of the sharing group

Request body

uuidstring uuid
namestring
descriptionstring
releasabilitystring
localboolean
activeboolean
org_countstring
organisation_uuidstring uuid
org_idstring
sync_user_idstring
createdstring date-time
modifiedstring date-time
roamingboolean

Example request

{
  "id": "1",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "name": "Banking Sharing Group",
  "description": "Banking Institutions of X Sharing Group",
  "org_count": "6",
  "organisation_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "org_id": "12345",
  "sync_user_id": "12345"
}

Response

Get sharing group response

editableboolean
deletableboolean

Example response

{
  "SharingGroup": {
    "id": "1",
    "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "name": "Banking Sharing Group",
    "description": "Banking Institutions of X Sharing Group",
    "org_count": "6",
    "organisation_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "org_id": "12345",
    "sync_user_id": "12345"
  },
  "Organisation": {
    "id": "12345",
    "name": "ORGNAME",
    "date_created": "2021-06-14 14:29:19",
    "date_modified": "2021-06-14 14:29:19",
    "type": "ADMIN",
    "created_by": "12345",
    "user_count": "3"
  },
  "SharingGroupOrg": [
    {
      "id": "1",
      "sharing_group_id": "1",
      "org_id": "12345",
      "Organisation": {
        "id": "12345",
        "name": "ORGNAME",
        "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b"
      }
    }
  ],
  "SharingGroupServer": [
    {
      "server_id": "12345",
      "sharing_group_id": "1",
      "Server": {
        "id": "12345",
        "name": "Phishing Server"
      }
    }
  ]
}

Changes

    • breaking

      the request property / became not nullable

    • breaking

      the / request property type changed from string to no type

    • breaking

      the // response property's maxLength was unset from 10 for the response status

    • breaking

      the // response property's maxLength was unset from 10 for the response status

    • breaking

      the // response property's maxLength was unset from 10 for the response status

    • breaking

      added to the // response property oneOf list for the response status

    • breaking

      added to the // response property oneOf list for the response status

    • breaking

      added to the // response property oneOf list for the response status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • warning

      for the path request parameter sharingGroupId, the type of property oneOf[SharingGroupId]/ changed from string to no type

    • info

      added to the / request property oneOf list

    • info

      removed the pattern ^\d+$|^$ from the request property /

    • info

      the // response's property pattern ^\d+$|^$ was removed for the status

    • info

      the // response's property pattern ^\d+$|^$ was removed for the status

    • info

      the // response's property pattern ^\d+$|^$ was removed for the status

    • breaking

      the ///// request property format changed from datetime to date-time

    • breaking

      the ///// request property format changed from datetime to date-time

    • breaking

      the ///////// response property's maxLength was unset from 36 for the response status

    • breaking

      the ////// response property's maxLength was unset from 36 for the response status

    • breaking

      the /// response property's maxLength was unset from 36 for the response status

    • breaking

      the ////// response's property format changed from datetime to date-time for status

    • breaking

      the ////// response's property format changed from datetime to date-time for status