{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/organizations/update-an-organization/","result":{"data":{"openApi":{"id":"525e5f88-6618-59ec-a579-d613e654f616","path":{"description":"Update various attributes and configurable settings for the given organization.","method":"put","operationId":"Update an Organization","summary":null,"tags":["Organizations"],"apiPath":"/api/0/organizations/{organization_slug}/","readableUrl":"/api/organizations/update-an-organization/","parameters":[{"schema":{"type":"string","format":null,"enum":null},"name":"organization_slug","in":"path","description":"The slug of the organization to update.","required":true}],"responses":[{"content":{"content_type":"application/json","example":"{\n  \"access\": [],\n  \"allowSharedIssues\": true,\n  \"availableRoles\": [\n    {\n      \"id\": \"member\",\n      \"name\": \"Member\"\n    },\n    {\n      \"id\": \"admin\",\n      \"name\": \"Admin\"\n    },\n    {\n      \"id\": \"manager\",\n      \"name\": \"Manager\"\n    },\n    {\n      \"id\": \"owner\",\n      \"name\": \"Owner\"\n    }\n  ],\n  \"avatar\": {\n    \"avatarType\": \"letter_avatar\",\n    \"avatarUuid\": null\n  },\n  \"dataScrubber\": false,\n  \"dataScrubberDefaults\": false,\n  \"dateCreated\": \"2018-11-06T21:20:19.548Z\",\n  \"defaultRole\": \"member\",\n  \"enhancedPrivacy\": false,\n  \"experiments\": {},\n  \"features\": [\n    \"new-teams\",\n    \"shared-issues\",\n    \"new-issue-ui\",\n    \"repos\",\n    \"open-membership\",\n    \"invite-members\",\n    \"sso-saml2\",\n    \"sso-basic\",\n    \"suggested-commits\"\n  ],\n  \"id\": \"3\",\n  \"isDefault\": false,\n  \"isEarlyAdopter\": false,\n  \"name\": \"Impeccably Designated\",\n  \"onboardingTasks\": [],\n  \"openMembership\": true,\n  \"pendingAccessRequests\": 0,\n  \"projects\": [],\n  \"quota\": {\n    \"accountLimit\": 0,\n    \"maxRate\": 0,\n    \"maxRateInterval\": 60,\n    \"projectLimit\": 100\n  },\n  \"require2FA\": false,\n  \"safeFields\": [],\n  \"scrapeJavaScript\": true,\n  \"scrubIPAddresses\": false,\n  \"sensitiveFields\": [],\n  \"slug\": \"impeccably-designated\",\n  \"status\": {\n    \"id\": \"active\",\n    \"name\": \"active\"\n  },\n  \"storeCrashReports\": 0,\n  \"teams\": [],\n  \"trustedRelays\": []\n}","schema":"{\n  \"type\": \"object\",\n  \"required\": [\n    \"access\",\n    \"allowSharedIssues\",\n    \"availableRoles\",\n    \"avatar\",\n    \"dataScrubber\",\n    \"dataScrubberDefaults\",\n    \"dateCreated\",\n    \"defaultRole\",\n    \"enhancedPrivacy\",\n    \"experiments\",\n    \"features\",\n    \"id\",\n    \"isDefault\",\n    \"isEarlyAdopter\",\n    \"name\",\n    \"onboardingTasks\",\n    \"openMembership\",\n    \"pendingAccessRequests\",\n    \"projects\",\n    \"quota\",\n    \"require2FA\",\n    \"safeFields\",\n    \"scrapeJavaScript\",\n    \"scrubIPAddresses\",\n    \"sensitiveFields\",\n    \"slug\",\n    \"status\",\n    \"storeCrashReports\",\n    \"teams\",\n    \"trustedRelays\"\n  ],\n  \"properties\": {\n    \"access\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"allowSharedIssues\": {\n      \"type\": \"boolean\"\n    },\n    \"availableRoles\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"name\": {\n            \"type\": \"string\"\n          }\n        }\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    \"dataScrubber\": {\n      \"type\": \"boolean\"\n    },\n    \"dataScrubberDefaults\": {\n      \"type\": \"boolean\"\n    },\n    \"dateCreated\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    },\n    \"defaultRole\": {\n      \"type\": \"string\"\n    },\n    \"enhancedPrivacy\": {\n      \"type\": \"boolean\"\n    },\n    \"experiments\": {\n      \"type\": \"object\"\n    },\n    \"features\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"id\": {\n      \"type\": \"string\"\n    },\n    \"isDefault\": {\n      \"type\": \"boolean\"\n    },\n    \"isEarlyAdopter\": {\n      \"type\": \"boolean\"\n    },\n    \"name\": {\n      \"type\": \"string\"\n    },\n    \"onboardingTasks\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\"\n      }\n    },\n    \"openMembership\": {\n      \"type\": \"boolean\"\n    },\n    \"pendingAccessRequests\": {\n      \"type\": \"integer\",\n      \"format\": \"int64\"\n    },\n    \"projects\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"dateCreated\",\n          \"firstEvent\",\n          \"hasAccess\",\n          \"id\",\n          \"isBookmarked\",\n          \"isMember\",\n          \"latestDeploys\",\n          \"name\",\n          \"platform\",\n          \"platforms\",\n          \"slug\",\n          \"team\",\n          \"teams\"\n        ],\n        \"properties\": {\n          \"dateCreated\": {\n            \"type\": \"string\"\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          \"isMember\": {\n            \"type\": \"boolean\"\n          },\n          \"latestDeploys\": {\n            \"type\": \"string\",\n            \"nullable\": true\n          },\n          \"name\": {\n            \"type\": \"string\"\n          },\n          \"platform\": {\n            \"type\": \"string\",\n            \"nullable\": true\n          },\n          \"platforms\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"string\"\n            }\n          },\n          \"slug\": {\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        }\n      }\n    },\n    \"quota\": {\n      \"type\": \"object\"\n    },\n    \"require2FA\": {\n      \"type\": \"boolean\"\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    \"sensitiveFields\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"slug\": {\n      \"type\": \"string\"\n    },\n    \"status\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"id\": {\n          \"type\": \"string\"\n        },\n        \"name\": {\n          \"type\": \"string\"\n        }\n      }\n    },\n    \"storeCrashReports\": {\n      \"type\": \"integer\",\n      \"format\": \"int64\"\n    },\n    \"teams\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"avatar\",\n          \"dateCreated\",\n          \"hasAccess\",\n          \"id\",\n          \"isMember\",\n          \"isPending\",\n          \"memberCount\",\n          \"name\",\n          \"slug\"\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          \"hasAccess\": {\n            \"type\": \"boolean\"\n          },\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"isMember\": {\n            \"type\": \"boolean\"\n          },\n          \"isPending\": {\n            \"type\": \"boolean\"\n          },\n          \"memberCount\": {\n            \"type\": \"integer\",\n            \"format\": \"int64\"\n          },\n          \"name\": {\n            \"type\": \"string\"\n          },\n          \"slug\": {\n            \"type\": \"string\"\n          }\n        }\n      }\n    },\n    \"trustedRelays\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    }\n  }\n}"},"description":"Success","status_code":"200"},{"content":null,"description":"Bad Input","status_code":"400"},{"content":null,"description":"Unauthorized","status_code":"401"},{"content":null,"description":"Forbidden","status_code":"403"},{"content":null,"description":"Not Found","status_code":"404"}],"requestBody":{"content":{"content_type":"application/json","schema":"{\n  \"required\": [\n    \"name\"\n  ],\n  \"type\": \"object\",\n  \"properties\": {\n    \"name\": {\n      \"type\": \"string\",\n      \"description\": \"An optional new name for the organization.\",\n      \"example\": \"Impeccably Designated\"\n    },\n    \"slug\": {\n      \"type\": \"string\",\n      \"description\": \"An optional new slug for the organization. Needs to be available and unique.\",\n      \"example\": \"impeccably-designated\"\n    }\n  }\n}"},"required":false},"security":[{"auth_token":["org:write"]}]}}},"pageContext":{"id":"525e5f88-6618-59ec-a579-d613e654f616","title":"Update an Organization"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}