mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-01 03:16:23 +02:00
Added delete user
This commit is contained in:
parent
9ae79ff712
commit
ef412f2a99
5 changed files with 129 additions and 0 deletions
|
|
@ -201,6 +201,16 @@ class IamClient(RequestResponse):
|
|||
timeout=timeout,
|
||||
)
|
||||
|
||||
async def delete_user(self, workspace, user_id, actor="",
|
||||
timeout=IAM_TIMEOUT):
|
||||
await self._request(
|
||||
operation="delete-user",
|
||||
workspace=workspace,
|
||||
actor=actor,
|
||||
user_id=user_id,
|
||||
timeout=timeout,
|
||||
)
|
||||
|
||||
async def create_workspace(self, workspace_record, actor="",
|
||||
timeout=IAM_TIMEOUT):
|
||||
resp = await self._request(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue