Path Parameters
UnitRole identifier
Body
application/merge-patch+json · object
The updated UnitRole resource
curl --request PATCH \
--url http://api/v1/unit_roles/{id} \
--header 'Content-Type: application/merge-patch+json' \
--data '{}'{
"@context": "<string>",
"@id": "<string>",
"@type": "<string>",
"role": {
"@context": "<string>",
"@id": "<string>",
"@type": "<string>",
"id": 123,
"name": "<string>",
"namePlural": "<string>",
"position": 123,
"options": [
"<string>"
],
"chartName": "<string>"
}
}Updates the UnitRole resource.
curl --request PATCH \
--url http://api/v1/unit_roles/{id} \
--header 'Content-Type: application/merge-patch+json' \
--data '{}'{
"@context": "<string>",
"@id": "<string>",
"@type": "<string>",
"role": {
"@context": "<string>",
"@id": "<string>",
"@type": "<string>",
"id": 123,
"name": "<string>",
"namePlural": "<string>",
"position": 123,
"options": [
"<string>"
],
"chartName": "<string>"
}
}UnitRole identifier
The updated UnitRole resource