Relay Proxy configurations

Reset Relay Proxy configuration key

POST
/api/v2/account/relay-auto-configs/{id}/reset

Reset a Relay Proxy configuration's secret key with an optional expiry time for the old key.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

id*string

The Relay Proxy configuration ID

Formatstring

Query Parameters

expiry?integer

An expiration time for the old Relay Proxy configuration key, expressed as a Unix epoch time in milliseconds. By default, the Relay Proxy configuration will expire immediately.

Formatint64

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/account/relay-auto-configs/string/reset"
{  "_id": "12ab3c45de678910abc12345",  "_creator": {    "_links": {      "self": {        "href": "/api/v2/members/569f183514f4432160000007",        "type": "application/json"      }    },    "_id": "569f183514f4432160000007",    "firstName": "Ariel",    "lastName": "Flores",    "role": "admin",    "email": "ariel@acme.com"  },  "_access": {    "denied": [      {        "action": "string",        "reason": {          "resources": [            "proj/*:env/*;qa_*:/flag/*"          ],          "notResources": [            "string"          ],          "actions": [            "*"          ],          "notActions": [            "string"          ],          "effect": "allow",          "role_name": "string"        }      }    ],    "allowed": [      {        "action": "string",        "reason": {          "resources": [            "proj/*:env/*;qa_*:/flag/*"          ],          "notResources": [            "string"          ],          "actions": [            "*"          ],          "notActions": [            "string"          ],          "effect": "allow",          "role_name": "string"        }      }    ]  },  "name": "Relay Proxy Demo Config",  "policy": [    {      "resources": [        "proj/*:env/*;qa_*:/flag/*"      ],      "notResources": [        "string"      ],      "actions": [        "*"      ],      "notActions": [        "string"      ],      "effect": "allow"    }  ],  "fullKey": "string",  "displayKey": "7f30",  "creationDate": "1628001602644",  "lastModified": "1628001602644"}