{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/projects/update-a-project/","result":{"data":{"openApi":{"id":"f4419283-eec8-5173-916a-40d289e23a8a","path":{"description":"Update various attributes and configurable settings for the given project.  Only supplied values are updated.","method":"put","operationId":"Update a Project","summary":null,"tags":["Projects"],"apiPath":"/api/0/projects/{organization_slug}/{project_slug}/","readableUrl":"/api/projects/update-a-project/","parameters":[{"schema":{"type":"string","format":null,"enum":null},"name":"organization_slug","in":"path","description":"The slug of the organization the project belongs to.","required":true},{"schema":{"type":"string","format":null,"enum":null},"name":"project_slug","in":"path","description":"The slug of the project to update.","required":true}],"responses":[{"content":{"content_type":"application/json","example":"{\n  \"allowedDomains\": [\n    \"http://example.com\",\n    \"http://example.invalid\"\n  ],\n  \"avatar\": {\n    \"avatarType\": \"letter_avatar\",\n    \"avatarUuid\": null\n  },\n  \"color\": \"#bf803f\",\n  \"dataScrubber\": true,\n  \"dataScrubberDefaults\": true,\n  \"dateCreated\": \"2018-11-06T21:20:19.624Z\",\n  \"defaultEnvironment\": null,\n  \"digestsMaxDelay\": 1800,\n  \"digestsMinDelay\": 300,\n  \"features\": [\n    \"releases\",\n    \"sample-events\",\n    \"minidump\",\n    \"servicehooks\",\n    \"rate-limits\",\n    \"data-forwarding\"\n  ],\n  \"firstEvent\": null,\n  \"hasAccess\": true,\n  \"id\": \"5\",\n  \"isBookmarked\": false,\n  \"isInternal\": false,\n  \"isMember\": true,\n  \"isPublic\": false,\n  \"latestRelease\": {\n    \"authors\": [],\n    \"commitCount\": 0,\n    \"data\": {},\n    \"dateCreated\": \"2018-11-06T21:20:19.645Z\",\n    \"dateReleased\": null,\n    \"deployCount\": 0,\n    \"firstEvent\": \"2018-11-06T21:20:19.718Z\",\n    \"lastCommit\": null,\n    \"lastDeploy\": null,\n    \"lastEvent\": \"2018-11-06T21:20:19.718Z\",\n    \"newGroups\": 0,\n    \"owner\": null,\n    \"projects\": [\n      {\n        \"name\": \"Plane Proxy\",\n        \"slug\": \"plane-proxy\"\n      }\n    ],\n    \"ref\": null,\n    \"shortVersion\": \"21c04bd\",\n    \"url\": null,\n    \"version\": \"21c04bd8fa23cfd85f5f5867f18efd2cf13247bc\"\n  },\n  \"name\": \"Plane Proxy\",\n  \"options\": {\n    \"feedback:branding\": true,\n    \"filters:blacklisted_ips\": \"\",\n    \"filters:error_messages\": \"\",\n    \"filters:releases\": \"\",\n    \"sentry:csp_ignored_sources\": \"\",\n    \"sentry:csp_ignored_sources_defaults\": true,\n    \"sentry:reprocessing_active\": false\n  },\n  \"organization\": {\n    \"avatar\": {\n      \"avatarType\": \"letter_avatar\",\n      \"avatarUuid\": null\n    },\n    \"dateCreated\": \"2018-11-06T21:19:55.101Z\",\n    \"id\": \"2\",\n    \"isEarlyAdopter\": false,\n    \"name\": \"The Interstellar Jurisdiction\",\n    \"require2FA\": false,\n    \"slug\": \"the-interstellar-jurisdiction\",\n    \"status\": {\n      \"id\": \"active\",\n      \"name\": \"active\"\n    }\n  },\n  \"platform\": \"javascript\",\n  \"platforms\": [],\n  \"plugins\": [\n    {\n      \"assets\": [],\n      \"author\": {\n        \"name\": \"Sentry Team\",\n        \"url\": \"https://github.com/getsentry/sentry\"\n      },\n      \"canDisable\": true,\n      \"contexts\": [],\n      \"description\": \"Integrates web hooks.\",\n      \"doc\": \"\",\n      \"enabled\": false,\n      \"hasConfiguration\": true,\n      \"id\": \"webhooks\",\n      \"isTestable\": true,\n      \"metadata\": {},\n      \"name\": \"WebHooks\",\n      \"resourceLinks\": [\n        {\n          \"title\": \"Bug Tracker\",\n          \"url\": \"https://github.com/getsentry/sentry/issues\"\n        },\n        {\n          \"title\": \"Source\",\n          \"url\": \"https://github.com/getsentry/sentry\"\n        }\n      ],\n      \"shortName\": \"WebHooks\",\n      \"slug\": \"webhooks\",\n      \"status\": \"unknown\",\n      \"type\": \"notification\",\n      \"version\": \"9.1.0.dev0\"\n    }\n  ],\n  \"processingIssues\": 0,\n  \"relayPiiConfig\": null,\n  \"resolveAge\": 0,\n  \"safeFields\": [],\n  \"scrapeJavaScript\": true,\n  \"scrubIPAddresses\": false,\n  \"securityToken\": \"c55a4bdce20911e88eed88e9fe5cab71\",\n  \"securityTokenHeader\": null,\n  \"sensitiveFields\": [],\n  \"slug\": \"plane-proxy\",\n  \"status\": \"active\",\n  \"storeCrashReports\": false,\n  \"subjectPrefix\": \"[Sentry] \",\n  \"subjectTemplate\": \"$shortID - $title\",\n  \"team\": {\n    \"id\": \"2\",\n    \"name\": \"Powerful Abolitionist\",\n    \"slug\": \"powerful-abolitionist\"\n  },\n  \"teams\": [\n    {\n      \"id\": \"2\",\n      \"name\": \"Powerful Abolitionist\",\n      \"slug\": \"powerful-abolitionist\"\n    }\n  ],\n  \"verifySSL\": false\n}","schema":"{\n  \"type\": \"object\",\n  \"required\": [\n    \"allowedDomains\",\n    \"avatar\",\n    \"color\",\n    \"dataScrubber\",\n    \"dataScrubberDefaults\",\n    \"dateCreated\",\n    \"defaultEnvironment\",\n    \"digestsMaxDelay\",\n    \"digestsMinDelay\",\n    \"features\",\n    \"firstEvent\",\n    \"hasAccess\",\n    \"id\",\n    \"isBookmarked\",\n    \"isInternal\",\n    \"isMember\",\n    \"isPublic\",\n    \"latestRelease\",\n    \"name\",\n    \"options\",\n    \"organization\",\n    \"platform\",\n    \"platforms\",\n    \"processingIssues\",\n    \"relayPiiConfig\",\n    \"resolveAge\",\n    \"safeFields\",\n    \"scrapeJavaScript\",\n    \"scrubIPAddresses\",\n    \"securityToken\",\n    \"securityTokenHeader\",\n    \"sensitiveFields\",\n    \"slug\",\n    \"status\",\n    \"storeCrashReports\",\n    \"subjectPrefix\",\n    \"subjectTemplate\",\n    \"team\",\n    \"teams\",\n    \"verifySSL\"\n  ],\n  \"properties\": {\n    \"allowedDomains\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"avatar\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"avatarType\": {\n          \"type\": \"string\"\n        },\n        \"avatarUuid\": {\n          \"type\": \"string\",\n          \"nullable\": true\n        }\n      }\n    },\n    \"color\": {\n      \"type\": \"string\"\n    },\n    \"dataScrubber\": {\n      \"type\": \"boolean\"\n    },\n    \"dataScrubberDefaults\": {\n      \"type\": \"boolean\"\n    },\n    \"dateCreated\": {\n      \"type\": \"string\"\n    },\n    \"defaultEnvironment\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"digestsMaxDelay\": {\n      \"type\": \"integer\"\n    },\n    \"digestsMinDelay\": {\n      \"type\": \"integer\"\n    },\n    \"features\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"firstEvent\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"hasAccess\": {\n      \"type\": \"boolean\"\n    },\n    \"id\": {\n      \"type\": \"string\"\n    },\n    \"isBookmarked\": {\n      \"type\": \"boolean\"\n    },\n    \"isInternal\": {\n      \"type\": \"boolean\"\n    },\n    \"isMember\": {\n      \"type\": \"boolean\"\n    },\n    \"isPublic\": {\n      \"type\": \"boolean\"\n    },\n    \"latestRelease\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"authors\",\n        \"commitCount\",\n        \"data\",\n        \"dateCreated\",\n        \"dateReleased\",\n        \"deployCount\",\n        \"firstEvent\",\n        \"lastCommit\",\n        \"lastDeploy\",\n        \"lastEvent\",\n        \"newGroups\",\n        \"owner\",\n        \"projects\",\n        \"ref\",\n        \"shortVersion\",\n        \"url\",\n        \"version\"\n      ],\n      \"properties\": {\n        \"authors\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"name\": {\n                \"type\": \"string\"\n              },\n              \"email\": {\n                \"type\": \"string\"\n              }\n            }\n          }\n        },\n        \"commitCount\": {\n          \"type\": \"integer\"\n        },\n        \"data\": {\n          \"type\": \"object\"\n        },\n        \"dateCreated\": {\n          \"type\": \"string\"\n        },\n        \"dateReleased\": {\n          \"type\": \"string\",\n          \"nullable\": true\n        },\n        \"deployCount\": {\n          \"type\": \"integer\"\n        },\n        \"firstEvent\": {\n          \"type\": \"string\",\n          \"nullable\": true\n        },\n        \"lastCommit\": {\n          \"type\": \"object\",\n          \"nullable\": true\n        },\n        \"lastDeploy\": {\n          \"type\": \"object\",\n          \"nullable\": true\n        },\n        \"lastEvent\": {\n          \"type\": \"string\",\n          \"nullable\": true\n        },\n        \"newGroups\": {\n          \"type\": \"integer\"\n        },\n        \"owner\": {\n          \"type\": \"string\",\n          \"nullable\": true\n        },\n        \"projects\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"name\": {\n                \"type\": \"string\"\n              },\n              \"slug\": {\n                \"type\": \"string\"\n              }\n            }\n          }\n        },\n        \"ref\": {\n          \"type\": \"string\",\n          \"nullable\": true\n        },\n        \"shortVersion\": {\n          \"type\": \"string\"\n        },\n        \"url\": {\n          \"type\": \"string\",\n          \"nullable\": true\n        },\n        \"version\": {\n          \"type\": \"string\"\n        }\n      }\n    },\n    \"name\": {\n      \"type\": \"string\"\n    },\n    \"options\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"feedback:branding\": {\n          \"type\": \"boolean\"\n        },\n        \"filters:blacklisted_ips\": {\n          \"type\": \"string\"\n        },\n        \"filters:error_messages\": {\n          \"type\": \"string\"\n        },\n        \"filters:releases\": {\n          \"type\": \"string\"\n        },\n        \"sentry:csp_ignored_sources\": {\n          \"type\": \"string\"\n        },\n        \"sentry:csp_ignored_sources_defaults\": {\n          \"type\": \"boolean\"\n        },\n        \"sentry:reprocessing_active\": {\n          \"type\": \"boolean\"\n        }\n      }\n    },\n    \"organization\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"avatar\",\n        \"dateCreated\",\n        \"id\",\n        \"isEarlyAdopter\",\n        \"name\",\n        \"require2FA\",\n        \"slug\",\n        \"status\"\n      ],\n      \"properties\": {\n        \"avatar\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"avatarType\": {\n              \"type\": \"string\"\n            },\n            \"avatarUuid\": {\n              \"type\": \"string\",\n              \"nullable\": true\n            }\n          }\n        },\n        \"dateCreated\": {\n          \"type\": \"string\",\n          \"format\": \"date-time\"\n        },\n        \"id\": {\n          \"type\": \"string\"\n        },\n        \"isEarlyAdopter\": {\n          \"type\": \"boolean\"\n        },\n        \"name\": {\n          \"type\": \"string\"\n        },\n        \"require2FA\": {\n          \"type\": \"boolean\"\n        },\n        \"slug\": {\n          \"type\": \"string\"\n        },\n        \"status\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"id\",\n            \"name\"\n          ],\n          \"properties\": {\n            \"id\": {\n              \"type\": \"string\"\n            },\n            \"name\": {\n              \"type\": \"string\"\n            }\n          }\n        }\n      }\n    },\n    \"platform\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"platforms\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"plugins\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"assets\",\n          \"author\",\n          \"canDisable\",\n          \"contexts\",\n          \"description\",\n          \"doc\",\n          \"enabled\",\n          \"hasConfiguration\",\n          \"id\",\n          \"isTestable\",\n          \"metadata\",\n          \"name\",\n          \"resourceLinks\",\n          \"shortName\",\n          \"slug\",\n          \"status\",\n          \"type\",\n          \"version\"\n        ],\n        \"properties\": {\n          \"assets\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"string\"\n            }\n          },\n          \"author\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"name\": {\n                \"type\": \"string\"\n              },\n              \"url\": {\n                \"type\": \"string\"\n              }\n            }\n          },\n          \"canDisable\": {\n            \"type\": \"boolean\"\n          },\n          \"contexts\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"string\"\n            }\n          },\n          \"description\": {\n            \"type\": \"string\"\n          },\n          \"doc\": {\n            \"type\": \"string\"\n          },\n          \"enabled\": {\n            \"type\": \"boolean\"\n          },\n          \"hasConfiguration\": {\n            \"type\": \"boolean\"\n          },\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"isTestable\": {\n            \"type\": \"boolean\"\n          },\n          \"metadata\": {\n            \"type\": \"object\"\n          },\n          \"name\": {\n            \"type\": \"string\"\n          },\n          \"resourceLinks\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"title\": {\n                  \"type\": \"string\"\n                },\n                \"url\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"shortName\": {\n            \"type\": \"string\"\n          },\n          \"slug\": {\n            \"type\": \"string\"\n          },\n          \"status\": {\n            \"type\": \"string\"\n          },\n          \"type\": {\n            \"type\": \"string\"\n          },\n          \"version\": {\n            \"type\": \"string\"\n          }\n        }\n      }\n    },\n    \"processingIssues\": {\n      \"type\": \"integer\"\n    },\n    \"relayPiiConfig\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"resolveAge\": {\n      \"type\": \"integer\"\n    },\n    \"safeFields\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"scrapeJavaScript\": {\n      \"type\": \"boolean\"\n    },\n    \"scrubIPAddresses\": {\n      \"type\": \"boolean\"\n    },\n    \"securityToken\": {\n      \"type\": \"string\"\n    },\n    \"securityTokenHeader\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"sensitiveFields\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"slug\": {\n      \"type\": \"string\"\n    },\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"storeCrashReports\": {\n      \"type\": \"boolean\",\n      \"nullable\": true\n    },\n    \"subjectPrefix\": {\n      \"type\": \"string\"\n    },\n    \"subjectTemplate\": {\n      \"type\": \"string\"\n    },\n    \"team\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"id\",\n        \"name\",\n        \"slug\"\n      ],\n      \"properties\": {\n        \"id\": {\n          \"type\": \"string\"\n        },\n        \"name\": {\n          \"type\": \"string\"\n        },\n        \"slug\": {\n          \"type\": \"string\"\n        }\n      }\n    },\n    \"teams\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\",\n          \"name\",\n          \"slug\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"name\": {\n            \"type\": \"string\"\n          },\n          \"slug\": {\n            \"type\": \"string\"\n          }\n        }\n      }\n    },\n    \"verifySSL\": {\n      \"type\": \"boolean\"\n    }\n  }\n}"},"description":"Success","status_code":"200"},{"content":null,"description":"Bad Input","status_code":"400"},{"content":null,"description":"Forbidden","status_code":"403"},{"content":null,"description":"Project not found","status_code":"404"}],"requestBody":{"content":{"content_type":"application/json","schema":"{\n  \"type\": \"object\",\n  \"properties\": {\n    \"name\": {\n      \"type\": \"string\",\n      \"description\": \"The new name for the project.\",\n      \"example\": \"Plane Proxy\"\n    },\n    \"slug\": {\n      \"type\": \"string\",\n      \"description\": \"The new slug for the project.\",\n      \"example\": \"plane-proxy\"\n    },\n    \"team\": {\n      \"type\": \"string\",\n      \"description\": \"The slug of new team for the project. Note, will be deprecated soon when multiple teams can have access to a project.\",\n      \"example\": \"the-inflated-philosophers\"\n    },\n    \"platform\": {\n      \"type\": \"string\",\n      \"description\": \"The new platform for the project.\",\n      \"example\": \"javascript\"\n    },\n    \"isBookmarked\": {\n      \"type\": \"boolean\",\n      \"description\": \"In case this API call is invoked with a user context this allows changing of the bookmark flag.\"\n    },\n    \"digestsMinDelay\": {\n      \"type\": \"integer\",\n      \"description\": \"\"\n    },\n    \"digestsMaxDelay\": {\n      \"type\": \"integer\",\n      \"description\": \"\"\n    }\n  }\n}"},"required":false},"security":[{"auth_token":["project:write"]}]}}},"pageContext":{"id":"f4419283-eec8-5173-916a-40d289e23a8a","title":"Update a Project"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}