Updates a membership's operational status.
Live control: drain or disable the membership. There is no per-Application release pin — an Agent belongs to one Application, so the pin duplicated its deploy and has been retired. Application ownership is immutable and cannot be changed through this resource.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The Network id the membership currently belongs to.
uuidThe membership id to update.
uuidThe tenant identifier
The status change.
When present, sets the live drain/disable status.
"UNSPECIFIED" | "ACTIVE" | "DRAINING" | "DISABLED" | "REMOVED"Response Body
curl -X PATCH "https://api.fruxon.com/v1/tenants/string/networks/497f6eca-6276-4993-bfeb-53cbbbba6f08/memberships/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "00000000-0000-0000-0000-000000000000",
"networkId": "00000000-0000-0000-0000-000000000000",
"agentId": "string",
"operationalStatus": "ACTIVE",
"createdAt": 0,
"modifiedAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Finished outcomes over a window, and items held now, for each of the Application's work-shape automations.
One row per automation that owns a ledger. `finished` counts production outcomes that reached DONE in [`from`, `to`) — the count the app statement bills — and is the only windowed figure. `inProgress`, `waiting`, `openQuestions`, `needsAttention` and `setAside` are point-in-time: what the ledger holds as of the request, whatever the window. Gated like the per-automation ledger reads (`triggers:read`), not like the run counts.
Returns one Network capability instance by wire type (for example SUPPORT_CASES).
Looks up a single capability instance by its wire type. A type that has not been materialized for the Network yields `404 Not Found`; a malformed capability type yields `400 Bad Request`.