SharingGroups
Edit sharing group
Changed onput/sharingGroups/edit/{sharingGroupId}
Request
- Base URLhttps://cerebrate.local
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sharingGroupIdinteger required
Example:1
Numeric ID of the Sharing Group
Request body
Example request
{
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"organisation_id": 1,
"user_id": 1
}Response
Sharing group response
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"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking