IRPCServerAdmin.JoinSubscription
Administration API / specialized admin session
Joins the server to an M-Files Manage subscription.
| Service | Server administration MFiles.IRPCServerAdmin |
|---|---|
| gRPC method | /MFiles.IRPCServerAdmin/JoinSubscription |
| HTTP (mf-http-grpc) | POST /grpc/v1/join-subscription |
| Request | JoinSubscriptionRequest |
| Response | JoinSubscriptionResponse |
| Book and level | Administration API, specialized |
| Kind | admin |
| Session | Required: the session ID from LogIn in the mfiles-session-id-bin metadata. |
| Idempotent | no |
| Returns metadata structure version | no |
| Streaming | none (unary) |
Remarks
- Changes how the server is managed. Test first with JoinSubscriptionTest.
- Requires the system administrator server role (server rights
edit_server_properties,manage_loginsandshutdown). - Fails with "Access denied." if the server already uses M-Files Manage
(
SubscriptionInfo.uses_one_db).
Request: JoinSubscriptionRequest
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
token | string | The access token from M-Files Manage that authorizes joining. |
subscription_id | string | The ID of the subscription to join. |
Response: JoinSubscriptionResponse
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
subscription_info | SubscriptionInfo | The subscription information after joining. |
subscription_info.authentication_server | string | The network address (name) of the mAuth server. |
subscription_info.subscription | string | The subscription info server is joined to. |
subscription_info.manage_address | string | The URL to the manage web. |
subscription_info.uses_one_db | bool | True if server uses OneDb. |
subscription_info.can_join | bool | True to allow changing the OneDb configuration. |
subscription_info.is_on_prem | bool | True if joined to subscription and not in container. |
subscription_info.is_isolated | bool | True if server is in isolated container. |
Related methods
- JoinSubscriptionTest -- Checks whether the server could join an M-Files Manage subscription, and lists the vaults that would prevent it.