{
"data": {
"type": "UserGroup"
}
}
curl --location --request POST 'https://api.synap.ac/v3/exam-v-2s//markers' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "UserGroup"
}
}'
{
"data": {
"id": "FID001",
"type": "UserGroup",
"attributes": {
"name": "string",
"description": "string",
"attr": {},
"isDefaultGroup": true,
"defaultGroupType": "string",
"isArchived": true,
"totalUsers": 0,
"parentId": "string",
"internal": true,
"membershipExpiryEnabled": true,
"membershipExpiryTimeToExpireInMs": 0
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"userType": {
"data": {
"id": "FID001",
"type": "UserType"
}
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
},
"parentGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
}
}
},
"included": [
{
"id": "FID001",
"type": "_User",
"attributes": {},
"relationships": {
"property1": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
},
"property2": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
}
}
}
],
"links": {
"self": "https://some-url.com/path?query=true"
},
"meta": {}
}