Deletion operations return 204
This commit is contained in:
parent
f70fd1a4c7
commit
206cee1647
@ -33,7 +33,7 @@ $$
|
|||||||
|
|
||||||
url = '/api/v1/databases/{0}/groups/%s' % (urllib.pathname2url(group_name))
|
url = '/api/v1/databases/{0}/groups/%s' % (urllib.pathname2url(group_name))
|
||||||
|
|
||||||
query = "select cartodb._CDB_Group_API_Request('DELETE', '%s', '', '{200, 404}') as response_status" % url
|
query = "select cartodb._CDB_Group_API_Request('DELETE', '%s', '', '{204, 404}') as response_status" % url
|
||||||
plpy.execute(query)
|
plpy.execute(query)
|
||||||
$$ LANGUAGE 'plpythonu' VOLATILE SECURITY DEFINER;
|
$$ LANGUAGE 'plpythonu' VOLATILE SECURITY DEFINER;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user