FruxonDocs
Agent NetworkGraph

Creates or replaces the Application's automatic-enrollment policy.

Full replace. The fallback must be `REQUEST_ACCESS` or `REJECT`, the environment rule must be specified, and the hourly cap at least 1 — anything else is a 400. Applies immediately: senders admitted under `PROVISION` are matched against this policy from the next message on. Save this before flipping an admission select to `PROVISION`; the Network PATCH refuses the enum with no policy in place.

PUT
/v1/tenants/{tenant}/networks/{network}/provisioningPolicy
AuthorizationBearer <token>

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

In: header

Path Parameters

network*string

The owning Application id.

Formatuuid
tenant*string

The tenant identifier

The matcher to set.

environmentRule?string

Environment rule for automatic provisioning. Provider channels use provider-vouched directory facts; signed embed identities use signed host attributes. Only ANY admits a participant with no environment; other rules always assign an environment.

Value in"UNSPECIFIED" | "MATCH_LIST" | "ANY" | "REQUIRE_ASSERTED"
environmentIds?array<string>
unmatchedFallback?string

Application policy for a sender who does not yet have an access grant. Covers operator-selectable admission behavior; existing revocation and operational failures are handled independently.

Value in"UNSPECIFIED" | "REQUEST_ACCESS" | "REJECT" | "PROVISION"
maxProvisionsPerHour?integer
Formatint32
[key: string]?never

Response Body

curl -X PUT "https://api.fruxon.com/v1/tenants/string/networks/497f6eca-6276-4993-bfeb-53cbbbba6f08/provisioningPolicy" \  -H "Content-Type: application/json" \  -d '{}'
{
  "networkId": "00000000-0000-0000-0000-000000000000",
  "configured": false,
  "environmentRule": "MATCH_LIST",
  "environmentIds": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "unmatchedFallback": "REQUEST_ACCESS",
  "maxProvisionsPerHour": 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
}