Commit aeff4cec authored by abuddenberg's avatar abuddenberg
Browse files

Per Brian, added support for deleting a contributor association on a publication

parent 2cc25e6f
......@@ -502,11 +502,7 @@ class GcisClient(object):
url = '{b}/report/{rpt}/chapter/{chp}/figure/contributors/{fig}'.format(b=self.base_url, rpt=report_id, chp=chapter_id, fig=figure_id)
data = {
'delete': {
'role': contrib.role.type_id,
'organization_identifier': contrib.organization.identifier,
'person_id': contrib.person.identifier
}
'delete_contributor': contrib.id
}
return self.s.post(url, data=json.dumps(data), verify=False)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment