Update a Client Key

Go to Product

Update various settings for a client key.

Options

Organization Slug
The slug of the organization the resource belongs to.
Project Slug
The slug of the project the resource belongs to.
Key Id
The ID of the key to update.
Body

Request body which must comply to the following JSON Schema:

{
  "type" : "object",
  "properties" : {
    "name" : {
      "type" : "string",
      "description" : "The name for the client key"
    },
    "isActive" : {
      "type" : "boolean",
      "description" : "Activate or deactivate the client key."
    },
    "rateLimit" : {
      "type" : "object",
      "properties" : {
        "count" : {
          "minimum" : 0,
          "type" : "integer",
          "nullable" : true
        },
        "window" : {
          "maximum" : 86400,
          "minimum" : 0,
          "type" : "integer",
          "nullable" : true
        }
      },
      "description" : "Applies a rate limit to cap the number of errors accepted during a given time window. To\ndisable entirely set `rateLimit` to null.\n```json\n{\n    \"rateLimit\": {\n        \"window\": 7200, // time in seconds\n        \"count\": 1000 // error cap\n    }\n}\n```"
    },
    "browserSdkVersion" : {
      "type" : "string",
      "description" : "The Sentry Javascript SDK version to use. The currently supported options are:\n\n* `latest` - Most recent version\n* `7.x` - Version 7 releases",
      "enum" : [ "latest", "7.x" ]
    },
    "dynamicSdkLoaderOptions" : {
      "type" : "object",
      "properties" : {
        "hasReplay" : {
          "type" : "boolean"
        },
        "hasPerformance" : {
          "type" : "boolean"
        },
        "hasDebug" : {
          "type" : "boolean"
        }
      },
      "description" : "Configures multiple options for the Javascript Loader Script.\n- `Performance Monitoring`\n- `Debug Bundles & Logging`\n- `Session Replay` - Note that the loader will load the ES6 bundle instead of the ES5 bundle.\n```json\n{\n    \"dynamicSdkLoaderOptions\": {\n        \"hasReplay\": true,\n        \"hasPerformance\": true,\n        \"hasDebug\": true\n    }\n}\n```"
    }
  }
}
Result Format
Specify how the response should be mapped to the table output. The following formats are available:
  • Structured Table: Returns a parsed table with data split into rows and columns.
    • Id:
    • Name:
    • Label:
    • Public:
    • Secret:
    • Project Id:
    • Is Active:
    • Rate Limit:
    • Dsn:
    • Browser Sdk Version:
    • Browser Sdk:
    • Date Created:
    • Dynamic Sdk Loader Options:
  • Raw Response: Returns the raw response in a single row with the following columns:
    • body: Response body
    • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.