{
  "opencollection": "1.0.0",
  "info": {
    "name": "Stytch B2B Authentication Application Clients API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Clients",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Rotatestart",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/v1/connected_apps/clients/:client_id/secrets/rotate/start",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The ID of the client."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Initiate the rotation of a Connected App client secret. After this endpoint is called, both the client's `client_secret` and `next_client_secret` will be valid. To complete the secret rotation flow, update all usages of `client_secret` to `next_client_secret` and call the Rotate Secret Endpoint to complete the flow.\nSecret rotation can be cancelled using the Cancel Secret Rotation endpoint.\n\n**Important:** This is the only time you will be able to view the generated `next_client_secret` in the A"
        },
        {
          "info": {
            "name": "Rotatecancel",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/v1/connected_apps/clients/:client_id/secrets/rotate/cancel",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The ID of the client."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Cancel the rotation of a Connected App client secret started with the Start Secret Rotation Endpoint. After this endpoint is called, the client's `next_client_secret` is discarded and only the original `client_secret` will be valid."
        },
        {
          "info": {
            "name": "Rotate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/v1/connected_apps/clients/:client_id/secrets/rotate",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The ID of the client."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Complete the rotation of a Connected App client secret started with the Rotate Secret Start Endpoint.\nAfter this endpoint is called, the client's `next_client_secret` becomes its `client_secret` and the previous `client_secret` will no longer be valid."
        },
        {
          "info": {
            "name": "Rotatestart",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/v1/m2m/clients/:client_id/secrets/rotate/start",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The ID of the client."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Initiate the rotation of an M2M client secret. After this endpoint is called, both the client's `client_secret` and `next_client_secret` will be valid. To complete the secret rotation flow, update all usages of `client_secret` to `next_client_secret` and call the [Rotate Secret Endpoint](https://stytch.com/docs/b2b/api/m2m-rotate-secret)[Rotate Secret Endpoint](https://stytch.com/docs/api/m2m-rotate-secret) to complete the flow.Secret rotation can be cancelled using the [Rotate Cancel Endpoint]("
        },
        {
          "info": {
            "name": "Rotatecancel",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/v1/m2m/clients/:client_id/secrets/rotate/cancel",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The ID of the client."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Cancel the rotation of an M2M client secret started with the [Start Secret Rotation Endpoint](https://stytch.com/docs/b2b/api/m2m-rotate-secret-start) [Start Secret Rotation Endpoint](https://stytch.com/docs/api/m2m-rotate-secret-start).\nAfter this endpoint is called, the client's `next_client_secret` is discarded and only the original `client_secret` will be valid."
        },
        {
          "info": {
            "name": "Rotate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/v1/m2m/clients/:client_id/secrets/rotate",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The ID of the client."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Complete the rotation of an M2M client secret started with the [Start Secret Rotation Endpoint](https://stytch.com/docs/b2b/api/m2m-rotate-secret-start) [Start Secret Rotation Endpoint](https://stytch.com/docs/api/m2m-rotate-secret-start).\nAfter this endpoint is called, the client's `next_client_secret` becomes its `client_secret` and the previous `client_secret` will no longer be valid."
        }
      ]
    }
  ],
  "bundled": true
}