{
  "opencollection": "1.0.0",
  "info": {
    "name": "Physna Public ClientCredentials API",
    "version": "2.0.1"
  },
  "items": [
    {
      "info": {
        "name": "ClientCredentials",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GetClientCredentials",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/v2/client-credentials",
            "headers": [
              {
                "name": "X-PHYSNA-TENANTID",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://physna.okta.com/oauth2/default/v1/authorize",
              "accessTokenUrl": "https://physna.okta.com/oauth2/default/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Client Credentials."
        },
        {
          "info": {
            "name": "CreateClientCredentials",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/v2/client-credentials",
            "headers": [
              {
                "name": "X-PHYSNA-TENANTID",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://physna.okta.com/oauth2/default/v1/authorize",
              "accessTokenUrl": "https://physna.okta.com/oauth2/default/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Client Credentials. These are used for programmatic access (service-to-service communication) to the API."
        },
        {
          "info": {
            "name": "DeleteClientCredentials",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/v2/client-credentials/:clientId",
            "headers": [
              {
                "name": "X-PHYSNA-TENANTID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://physna.okta.com/oauth2/default/v1/authorize",
              "accessTokenUrl": "https://physna.okta.com/oauth2/default/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Client Credentials."
        }
      ]
    }
  ],
  "bundled": true
}