v1

latestOpenAPI 3.0.02026-07-17508972.4 KB
SharingGroups

Edit sharing group

put/sharingGroups/edit/{sharingGroupId}

Path parameters

sharingGroupIdinteger required
Example:1

Numeric ID of the Sharing Group

Request body

uuidstring uuid
namestring
releasabilitystring
descriptionstring
organisation_idinteger
user_idinteger
activeboolean
localboolean

Example request

{
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "organisation_id": 1,
  "user_id": 1
}

Response

Sharing group response

idinteger
uuidstring uuid
namestring
releasabilitystring
descriptionstring
organisation_idinteger
user_idinteger
activeboolean
localboolean
createdstring datetime
modifiedstring datetime

Example response

{
  "id": 1,
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "organisation_id": 1,
  "user_id": 1,
  "sharing_group_orgs": [
    {
      "id": 1,
      "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
      "created": "2022-01-05T11:19:26+00:00",
      "modified": "2022-01-05T11:19:26+00:00",
      "tags": [
        {
          "id": 1,
          "name": "white",
          "namespace": "tlp",
          "colour": "FFFFFF",
          "text_colour": "white",
          "created": "2022-01-05T11:19:26+00:00",
          "modified": "2022-01-05T11:19:26+00:00"
        }
      ]
    }
  ],
  "user": {
    "id": 1,
    "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "username": "admin",
    "role_id": 1,
    "individual_id": 1,
    "created": "2022-01-05T11:19:26+00:00",
    "modified": "2022-01-05T11:19:26+00:00",
    "organisation_id": 1,
    "organisation": {
      "id": 1,
      "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
      "created": "2022-01-05T11:19:26+00:00",
      "modified": "2022-01-05T11:19:26+00:00",
      "tags": [
        {
          "id": 1,
          "name": "white",
          "namespace": "tlp",
          "colour": "FFFFFF",
          "text_colour": "white",
          "created": "2022-01-05T11:19:26+00:00",
          "modified": "2022-01-05T11:19:26+00:00"
        }
      ]
    },
    "individual": {
      "id": 1,
      "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
      "email": "user@example.com",
      "first_name": "John",
      "last_name": "Doe",
      "full_name": "John Doe",
      "position": "Security Analyst",
      "tags": [
        {
          "id": 1,
          "name": "white",
          "namespace": "tlp",
          "colour": "FFFFFF",
          "text_colour": "white",
          "created": "2022-01-05T11:19:26+00:00",
          "modified": "2022-01-05T11:19:26+00:00"
        }
      ],
      "created": "2022-01-05T11:19:26+00:00",
      "modified": "2022-01-05T11:19:26+00:00"
    },
    "role": {
      "id": 1,
      "name": "admin"
    }
  },
  "organisation": {
    "id": 1,
    "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "created": "2022-01-05T11:19:26+00:00",
    "modified": "2022-01-05T11:19:26+00:00",
    "tags": [
      {
        "id": 1,
        "name": "white",
        "namespace": "tlp",
        "colour": "FFFFFF",
        "text_colour": "white",
        "created": "2022-01-05T11:19:26+00:00",
        "modified": "2022-01-05T11:19:26+00:00"
      }
    ]
  },
  "created": "2022-01-05T11:19:26+00:00",
  "modified": "2022-01-05T11:19:26+00:00"
}