{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Generates an account-wide or device-specific uninstall protection override code.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/teams-devices_override_code_create_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"teams-devices_override_code_create_request":{"type":"object","properties":{"device_id":{"description":"Physical device ID. Required when scope is device and forbidden when scope is account.","type":"string","format":"uuid"},"duration_hours":{"description":"Number of hours for which the override code should remain valid.","type":"integer","maximum":24,"minimum":1},"scope":{"description":"Whether the code applies to every device in the account or one physical device.","type":"string","enum":["account","device"]},"type":{"description":"The feature that the override code applies to.","type":"string","enum":["uninstall_protection"]}},"required":["type","scope","duration_hours"]}}},"name":"Generate an uninstall protection override code","id":"cloudflare.create-override-code","example":{"path":{"account_id":"example"},"body":{"type":"uninstall_protection","scope":"account","duration_hours":1}},"maxRequests":1,"summary":false}}