Skip to content

Latest commit

 

History

History
134 lines (91 loc) · 5.95 KB

RadiusServersApi.md

File metadata and controls

134 lines (91 loc) · 5.95 KB

\RadiusServersApi

All URIs are relative to https://console.jumpcloud.com/api

Method HTTP request Description
RadiusServersList Get /radiusservers List Radius Servers
RadiusServersPost Post /radiusservers Create a Radius Server
RadiusServersPut Put /radiusservers:id Update Radius Servers

RadiusServersList

Radiusserverslist RadiusServersList(ctx, contentType, accept, optional) List Radius Servers

This endpoint allows you to get a list of all RADIUS servers in your organization. #### Sample Request curl -X GET https://console.jumpcloud.com/api/radiusservers/ \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' \\

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
contentType string [default to application/json]
accept string [default to application/json]
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
contentType string [default to application/json]
accept string [default to application/json]
fields string Use a space seperated string of field parameters to include the data in the response. If omitted the default list of fields will be returned. [default to ]
limit int32 The number of records to return at once. Limited to 100. [default to 10]
skip int32 The offset into the records to return. [default to 0]
sort string Use space separated sort parameters to sort the collection. Default sort is ascending. Prefix with `-` to sort descending. [default to ]
xOrgId string [default to ]

Return type

Radiusserverslist

Authorization

x-api-key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json; charset=utf-8

[Back to top] [Back to API list] [Back to Model list] [Back to README]

RadiusServersPost

Radiusserverslist RadiusServersPost(ctx, contentType, accept, optional) Create a Radius Server

This endpoint allows you to create RADIUS servers in your organization. #### Sample Request curl -X POST https://console.jumpcloud.com/api/radiusservers/ \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' \\ -d '{ \"name\": \"{test_radius}\", \"networkSourceIp\": \"{0.0.0.0}\", \"sharedSecret\":\"{secretpassword}\" }'

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
contentType string [default to application/json]
accept string [default to application/json]
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
contentType string [default to application/json]
accept string [default to application/json]
body Radiusserverpost
xOrgId string [default to ]

Return type

Radiusserverslist

Authorization

x-api-key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json; charset=utf-8

[Back to top] [Back to API list] [Back to Model list] [Back to README]

RadiusServersPut

Radiusserverput RadiusServersPut(ctx, contentType, accept, optional) Update Radius Servers

This endpoint allows you to update RADIUS servers in your organization. #### curl -X PUT https://console.jumpcloud.com/api/radiusservers/{ServerID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' \\ -d '{ \"name\": \"{name_update}\", \"networkSourceIp\": \"{0.0.0.0}\" }'

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
contentType string [default to application/json]
accept string [default to application/json]
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
contentType string [default to application/json]
accept string [default to application/json]
body Body
xOrgId string [default to ]

Return type

Radiusserverput

Authorization

x-api-key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json; charset=utf-8

[Back to top] [Back to API list] [Back to Model list] [Back to README]