endpoint_manage
Manage the names, types and registry entries of your devices and connected services.
Send the complete name, type and enablement document for every metadata replacement, with etag from the read and a stable idempotencyKey. Choose one operation: RENAME, SET_TYPE, SET_ENABLEMENT, MERGE_INTO, or DELETE. Use endpoint_query first and copy the full endpoint ID. Rename and type changes are durable across provider rediscovery. Disabled endpoints stay available for explicit metadata reads, but cannot receive messages; rediscovery preserves the disabled state. DELETE removes the registry entry, though a provider may rediscover it later. MERGE_INTO retains the source endpoint as disabled and moves supported references to the target; it does not create a source-ID alias, a simulator endpoint can merge only into a target without a simulator route (two simulator endpoints return 409 CONFLICT; disable or delete the duplicate instead), and the target's enablement remains in effect. Before MERGE_INTO or DELETE, identify the actual endpoint and explain the effect to the user; never assume two endpoints are duplicates because their names match. This tool changes registry metadata only and never performs physical control.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | Yes | Current endpoint writable document etag from endpoint_query. | |
| name | No | Complete replacement name, required with type and enablement on metadata writes. | |
| type | No | Complete replacement type, required with name and enablement on metadata writes. | |
| mergeInto | No | Full target endpoint ID; only for MERGE_INTO. | |
| operation | Yes | ||
| enablement | No | Complete replacement enablement, required with name and type on metadata writes. | |
| endpointId | Yes | Full endpoint ID from endpoint_query. | |
| targetEtag | No | Current target etag, required for MERGE_INTO. | |
| idempotencyKey | Yes | Unique request key. Reuse it for retries of the same change for 24 hours. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||