Skip to content
Get started

Remove a member from a workspace

workspace_admin.members.remove(profile_id, **kwargs) -> void
DELETE/v1/account/workspaces/{workspaceId}/members/{profileId}

Revokes a member’s access by deactivating their actor; the member is immediately cut off. The underlying profile is not deleted. Admin only.

ParametersExpand Collapse
workspace_id: String
profile_id: String

Remove a member from a workspace

require "cadenya"

cadenya = Cadenya::Client.new(api_key: "My API Key")

result = cadenya.workspace_admin.members.remove("profileId", workspace_id: "workspaceId")

puts(result)
Returns Examples