Skip to content

Latest commit

 

History

History
109 lines (66 loc) · 2.33 KB

TrustedProxiesApi.md

File metadata and controls

109 lines (66 loc) · 2.33 KB

TrustedProxiesApi

All URIs are relative to https://<CROWD_URL>/rest/bootstrapi/1

Method HTTP request Description
addTrustedProxy POST /trusted-proxies Add a trusted proxy
getTrustedProxies GET /trusted-proxies Get the trusted proxies
removeTrustedProxy DELETE /trusted-proxies Remove a trusted proxy
setTrustedProxies PUT /trusted-proxies Set the trusted proxies

addTrustedProxy

List addTrustedProxy(body)

Add a trusted proxy

Parameters

Name Type Description Notes
body String [optional]

Return type

List

Authorization

basicAuth

HTTP request headers

  • Content-Type: text/plain
  • Accept: application/json

getTrustedProxies

List getTrustedProxies()

Get the trusted proxies

Parameters

This endpoint does not need any parameter.

Return type

List

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

removeTrustedProxy

List removeTrustedProxy(body)

Remove a trusted proxy

Parameters

Name Type Description Notes
body String [optional]

Return type

List

Authorization

basicAuth

HTTP request headers

  • Content-Type: text/plain
  • Accept: application/json

setTrustedProxies

List setTrustedProxies(request_body)

Set the trusted proxies

Parameters

Name Type Description Notes
request_body List [optional]

Return type

List

Authorization

basicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json