Documentation/Canton Network Docs/Ledger APIProtobufsPackagescom.daml.ledger.api.v2.adminServicesUserManagementServiceView on Canton Network Docs ↗
RevokeUserRights
RPC
/com.daml.ledger.api.v2.admin.UserManagementService/RevokeUserRightsProtocol Details
Inputs
RevokeUserRightsRequest
user_idstringrightsrepeated Rightidentity_provider_idstringOutputs
RevokeUserRightsResponse
newly_revoked_rightsrepeated RightRelated Schemas
com.daml.ledger.api.v2.admin.RevokeUserRightsRequest
com.daml.ledger.api.v2.admin.RevokeUserRightsRequest
user_idstringrightsrepeated Rightidentity_provider_idstringcom.daml.ledger.api.v2.admin.Right
com.daml.ledger.api.v2.admin.Right
participant_adminParticipantAdmincan_act_asCanActAscan_read_asCanReadAsidentity_provider_adminIdentityProviderAdmincan_read_as_any_partyCanReadAsAnyPartycan_execute_asCanExecuteAscan_execute_as_any_partyCanExecuteAsAnyPartycom.daml.ledger.api.v2.admin.Right.ParticipantAdmin
com.daml.ledger.api.v2.admin.Right.ParticipantAdmin
com.daml.ledger.api.v2.admin.Right.CanActAs
com.daml.ledger.api.v2.admin.Right.CanActAs
partystringcom.daml.ledger.api.v2.admin.Right.CanReadAs
com.daml.ledger.api.v2.admin.Right.CanReadAs
partystringcom.daml.ledger.api.v2.admin.Right.CanExecuteAs
com.daml.ledger.api.v2.admin.Right.CanExecuteAs
partystringcom.daml.ledger.api.v2.admin.Right.IdentityProviderAdmin
com.daml.ledger.api.v2.admin.Right.IdentityProviderAdmin
com.daml.ledger.api.v2.admin.Right.CanReadAsAnyParty
com.daml.ledger.api.v2.admin.Right.CanReadAsAnyParty
com.daml.ledger.api.v2.admin.Right.CanExecuteAsAnyParty
com.daml.ledger.api.v2.admin.Right.CanExecuteAsAnyParty
com.daml.ledger.api.v2.admin.RevokeUserRightsResponse
com.daml.ledger.api.v2.admin.RevokeUserRightsResponse
newly_revoked_rightsrepeated Rightgrpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.daml.ledger.api.v2.admin.UserManagementService/RevokeUserRights <<'EOF'
{
"userId": "string",
"rights": [
{
"participantAdmin": {}
}
],
"identityProviderId": "string"
}
EOF
OKapplication/json
OK
{
"newlyRevokedRights": [
{
"participantAdmin": {}
}
]
}