8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db25705 commit cea26d1Copy full SHA for cea26d1
consulate/api/acl.py
@@ -135,7 +135,7 @@ def update_policy(self,
135
def delete_policy(self, id):
136
"""Delete an existing policy with the given ID.
137
:param str id: The ID of the policy.
138
- :param rtype: dict
+ :param rtype: bool
139
140
"""
141
return self._delete(["policy", id])
@@ -212,6 +212,14 @@ def update_role(self,
212
policies=policies,
213
service_identities=service_identities)))
214
215
+ def delete_role(self, id):
216
+ """Delete an existing role with the given ID.
217
+ :param str id: The ID of the role.
218
219
+
220
+ """
221
+ return self._delete(["policy", id])
222
223
# NOTE: Everything below here is deprecated post consul-1.4.0.
224
225
def bootstrap(self):
0 commit comments