Proxy Profile Management

Hosts

Routes

HTTP VerbRouteDescription
PUT/api/proxyProfile/{tokenExId}/{profileId}Update the proxy profile name
POST/api/proxyProfile/keys/{tokenExId}/{profileId}Creates a new Proxy Key
PUT/api/proxyProfile/keys/{tokenExId}/{profileId}Updates the name for the Proxy Key
DELETE/api/proxyProfile/keys/{tokenExId}/{profileId}Deletes the specified Proxy Key
POST/api/proxyProfile/cidrs/{tokenExId}/{profileId}Adds a IP Whitelist (CIDR) to the Proxy Key whitelist Note: the CIDR must include the IP and the Range, in XXX.XXX.XXX.XXX/XX format.
PUT/api/proxyProfile/cidrs/{tokenExId}/{profileId}Updates the description for the specified IP Whitelist (CIDR). Note: the CIDR must include the IP and the Range, in XXX.XXX.XXX.XXX/XX format.
DELETE/api/proxyProfile/cidrs/{tokenExId}/{profileId}Deletes the specified IP Whitelist (CIDR). Note: the CIDR must include the IP and the Range, in XXX.XXX.XXX.XXX/XX format.

Examples

PUT Request

PUT /api/proxyProfile/12345/6789 HTTP/1.1
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

{"profileName": "Your proxy profile name here"}

PUT Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

POST Request

POST /api/proxyProfile/keys/12345/6789 HTTP/1.1
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

POST Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{"proxyKey": "asrMpRNd2gPAf4NA3zPiQ6j8CuZsujSeHDdEUhpK"}

PUT Request

PUT /api/proxyProfile/keys/12345/6789 HTTP/1.1
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

{"proxyKey": "asrMpRNd2gPAf4NA3zPiQ6j8CuZsujSeHDdEUhpK","proxyKeyName": "A new proxy key name"}

PUT Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

DELETE Request

DELETE /api/proxyProfile/keys/12345/6789
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

{"proxyKey": "asrMpRNd2gPAf4NA3zPiQ6j8CuZsujSeHDdEUhpK"}

DELETE Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

POST Request

POST /api/proxyProfile/cidrs/12345/6789 HTTP/1.1
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

{"cidr": "123.123.123.123/32","proxyKey": "asrMpRNd2gPAf4NA3zPiQ6j8CuZsujSeHDdEUhpK","description": "Just testing"}

POST Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

PUT Request

PUT /api/proxyProfile/cidrs/12345/6789 HTTP/1.1
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

{"cidr": "123.123.123.123/32","proxyKey": "asrMpRNd2gPAf4NA3zPiQ6j8CuZsujSeHDdEUhpK","description": "Just testing 2"}

PUT Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

DELETE Request

DELETE /api/proxyProfile/cidrs/12345/6789
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

{"cidr": "123.123.123.123/32","proxyKey": "asrMpRNd2gPAf4NA3zPiQ6j8CuZsujSeHDdEUhpK"}

DELETE Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8