{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/teams/update-a-team/","result":{"data":{"openApi":{"id":"e74eb83e-25f7-53e2-80b5-b3a95fbd30bd","path":{"description":"Update various attributes and configurable settings for the given team.","method":"put","operationId":"Update a Team","summary":null,"tags":["Teams"],"apiPath":"/api/0/teams/{organization_slug}/{team_slug}/","readableUrl":"/api/teams/update-a-team/","parameters":[{"schema":{"type":"string","format":null,"enum":null},"name":"organization_slug","in":"path","description":"The slug of the organization the team belongs to.","required":true},{"schema":{"type":"string","format":null,"enum":null},"name":"team_slug","in":"path","description":"The slug of the team to get.","required":true}],"responses":[{"content":{"content_type":"application/json","example":"{\n  \"avatar\": {\n    \"avatarType\": \"letter_avatar\"\n  },\n  \"dateCreated\": \"2018-11-06T21:20:08.115Z\",\n  \"hasAccess\": true,\n  \"id\": \"3\",\n  \"isMember\": false,\n  \"isPending\": false,\n  \"memberCount\": 1,\n  \"name\": \"The Inflated Philosophers\",\n  \"slug\": \"the-inflated-philosophers\"\n}","schema":"{\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}"},"description":"Success","status_code":"200"},{"content":null,"description":"Bad Input","status_code":"400"},{"content":null,"description":"Forbidden","status_code":"403"},{"content":null,"description":"Team 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\": \"The new name for the team.\",\n      \"example\": \"The Inflated Philosophers\"\n    },\n    \"slug\": {\n      \"type\": \"string\",\n      \"description\": \"A new slug for the team. It has to be unique and available.\",\n      \"example\": \"the-inflated-philosophers\"\n    }\n  }\n}"},"required":true},"security":[{"auth_token":["team:write"]}]}}},"pageContext":{"id":"e74eb83e-25f7-53e2-80b5-b3a95fbd30bd","title":"Update a Team"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}