> ## Documentation Index
> Fetch the complete documentation index at: https://cantonfoundation-openapi-endpoint-history.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyManagementServiceGrpc.AsyncService

> This service allows inspecting the party management state of the ledger known to the participant and managing the participant-local party metadata. The authorization rules for its RPCs are specified on the ``<RpcName>Request`` messages as boolean expressions over these facts: 1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and 2. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id`` of the authenticated user and the user has an IdentityProviderAdmin right. If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided. If `identity_provider_id` remains an empty string, the default identity provider will be assumed. The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``: 1. ``Optional`` denoting the client may leave the field unset when sending a request. 2. ``Required`` denoting the client must set the field to a non-default value when sending a request. A party details resource is described by the ``PartyDetails`` message, A party details resource, once it has been created, can be modified using the ``UpdatePartyDetails`` RPC. The only fields that can be modified are those marked as ``Modifiable``.

## PartyManagementServiceGrpc.AsyncService

Upstream docs: [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/admin/PartyManagementServiceGrpc.AsyncService.html)

**Signature**

```text theme={null}
public static interface PartyManagementServiceGrpc.AsyncService
```

**Members**

| Docs                                                                                                                                                                                                                                                                                                    | Member                                                                                                                                                                                         | Introduced | Deprecated | Removed |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ---------- | ------- |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/admin/PartyManagementServiceGrpc.AsyncService.html#allocateExternalParty%28com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.AllocateExternalPartyRequest,io.grpc.stub.StreamObserver%29)                 | `allocateExternalParty(PartyManagementServiceOuterClass.AllocateExternalPartyRequest, StreamObserver<PartyManagementServiceOuterClass.AllocateExternalPartyResponse>)`                         | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/admin/PartyManagementServiceGrpc.AsyncService.html#allocateParty%28com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.AllocatePartyRequest,io.grpc.stub.StreamObserver%29)                                 | `allocateParty(PartyManagementServiceOuterClass.AllocatePartyRequest, StreamObserver<PartyManagementServiceOuterClass.AllocatePartyResponse>)`                                                 | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/admin/PartyManagementServiceGrpc.AsyncService.html#generateExternalPartyTopology%28com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.GenerateExternalPartyTopologyRequest,io.grpc.stub.StreamObserver%29) | `generateExternalPartyTopology(PartyManagementServiceOuterClass.GenerateExternalPartyTopologyRequest, StreamObserver<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse>)` | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/admin/PartyManagementServiceGrpc.AsyncService.html#getParticipantId%28com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.GetParticipantIdRequest,io.grpc.stub.StreamObserver%29)                           | `getParticipantId(PartyManagementServiceOuterClass.GetParticipantIdRequest, StreamObserver<PartyManagementServiceOuterClass.GetParticipantIdResponse>)`                                        | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/admin/PartyManagementServiceGrpc.AsyncService.html#getParties%28com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.GetPartiesRequest,io.grpc.stub.StreamObserver%29)                                       | `getParties(PartyManagementServiceOuterClass.GetPartiesRequest, StreamObserver<PartyManagementServiceOuterClass.GetPartiesResponse>)`                                                          | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/admin/PartyManagementServiceGrpc.AsyncService.html#listKnownParties%28com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.ListKnownPartiesRequest,io.grpc.stub.StreamObserver%29)                           | `listKnownParties(PartyManagementServiceOuterClass.ListKnownPartiesRequest, StreamObserver<PartyManagementServiceOuterClass.ListKnownPartiesResponse>)`                                        | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/admin/PartyManagementServiceGrpc.AsyncService.html#updatePartyDetails%28com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.UpdatePartyDetailsRequest,io.grpc.stub.StreamObserver%29)                       | `updatePartyDetails(PartyManagementServiceOuterClass.UpdatePartyDetailsRequest, StreamObserver<PartyManagementServiceOuterClass.UpdatePartyDetailsResponse>)`                                  | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/admin/PartyManagementServiceGrpc.AsyncService.html#updatePartyIdentityProviderId%28com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.UpdatePartyIdentityProviderIdRequest,io.grpc.stub.StreamObserver%29) | `updatePartyIdentityProviderId(PartyManagementServiceOuterClass.UpdatePartyIdentityProviderIdRequest, StreamObserver<PartyManagementServiceOuterClass.UpdatePartyIdentityProviderIdResponse>)` | `3.5.6`    | -          | -       |
