FruxonDocs
Agent NetworkGraph

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.

PATCH
/v1/tenants/{tenant}/networks/{network}/memberships/{membership}
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

network*string

The Network id the membership currently belongs to.

Formatuuid
membership*string

The membership id to update.

Formatuuid
tenant*string

The tenant identifier

The status change.

operationalStatus?string

When present, sets the live drain/disable status.

Value in"UNSPECIFIED" | "ACTIVE" | "DRAINING" | "DISABLED" | "REMOVED"
[key: string]?never

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
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}