Docs
Live demo
DELETE/api/v2/organizations/{id}/trusted-networks/{network_id}

Some changes in this call need a fresh second factor. A token cannot give a second factor, so such a change gets 403 auth.api_token_not_allowed. Make it in the console.

Delete a network list that no application SSO gate selects. A list in use is refused with 409: remove it from the SSO gate of each application first. An API token makes this change only when it was issued with allow_security_changes.

Parameters

Path2 required of 2
idstringpathrequired

Organization ID (UUID)

network_idstringpathrequired

Network list ID (UUID)

Responses

204

No Content

403

Forbidden: the caller's roles do not grant the permission of the operation, the administrator's second factor was not confirmed recently (details.reason=mfa_reauth_required), or the request uses an API token issued without allow_security_changes (details.reason=api_token_security_changes_not_allowed).

409

Conflict: an application SSO gate still selects the list.

Common errors: 400 401 404 413 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close