Request
Body Params application/vnd.api+json
{
"data": {
"type": "CollectionAccess",
"attributes": {
"level": "editor",
"upgradeInstructionsType": "product",
"upgradeInstructionsData": [
"string"
]
},
"relationships": {
"userGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
}
}
}
}
Request Code Samples
curl --location --request POST 'https://api.synap.ac/v3/collection-accesses' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "CollectionAccess",
"attributes": {
"level": "editor",
"upgradeInstructionsType": "product",
"upgradeInstructionsData": [
"string"
]
},
"relationships": {
"userGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
}
}
}
}'
Responses
{
"data": {
"id": "FID001",
"type": "CollectionAccess",
"attributes": {
"level": "editor",
"upgradeInstructionsType": "product",
"upgradeInstructionsData": [
"string"
]
},
"relationships": {
"userGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
}
}
}
}
Modified at 2025-09-15 09:58:55